Skip to content

Commit

Permalink
config: removes colors themes from ini
Browse files Browse the repository at this point in the history
  • Loading branch information
quesnel committed Oct 17, 2024
1 parent f9c1c3f commit cf112b5
Show file tree
Hide file tree
Showing 4 changed files with 666 additions and 587 deletions.
4 changes: 2 additions & 2 deletions app/gui/application.hpp
Original file line number Diff line number Diff line change
Expand Up @@ -26,7 +26,7 @@
namespace irt {

template<class T, class M>
constexpr std::ptrdiff_t offset_of(const M T::*member)
constexpr std::ptrdiff_t offset_of(const M T::* member)
{
return reinterpret_cast<std::ptrdiff_t>(
&(reinterpret_cast<T*>(0)->*member));
Expand All @@ -46,7 +46,7 @@ constexpr std::ptrdiff_t offset_of(const M T::*member)
//! }
//! @endcode
template<class T, class M>
constexpr T& container_of(M* ptr, const M T::*member)
constexpr T& container_of(M* ptr, const M T::* member)
{
return *reinterpret_cast<T*>(reinterpret_cast<intptr_t>(ptr) -
offset_of(member));
Expand Down
Loading

0 comments on commit cf112b5

Please sign in to comment.