Skip to content

Commit

Permalink
slight change
Browse files Browse the repository at this point in the history
  • Loading branch information
dankmeme01 committed Sep 16, 2024
1 parent 4a05074 commit 56da334
Show file tree
Hide file tree
Showing 3 changed files with 6 additions and 2 deletions.
1 change: 1 addition & 0 deletions loader/include/Geode/c++stl/gnustl.hpp
Original file line number Diff line number Diff line change
Expand Up @@ -20,6 +20,7 @@ namespace geode::base {
#include "gnustl/hash_specialization.hpp"
#undef _GLIBCXX_RELEASE
#undef __GLIBCXX__
#undef _GLIBCXX_USE_DUAL_ABI

namespace gd {
using namespace geode::stl;
Expand Down
5 changes: 4 additions & 1 deletion loader/include/Geode/c++stl/gnustl/c++config.h
Original file line number Diff line number Diff line change
Expand Up @@ -8,4 +8,7 @@
# include "c++config-armeabi-v7a.h"
#endif

template <typename T> using __not_ = std::integral_constant<bool, !T::value>;
// i put this here cuz it's used all over the place
namespace geode::stl {
template <typename T> using __not_ = std::integral_constant<bool, !T::value>;
}
2 changes: 1 addition & 1 deletion loader/include/Geode/c++stl/gnustl/ext/alloc_traits.h
Original file line number Diff line number Diff line change
Expand Up @@ -116,7 +116,7 @@ template<typename _Alloc>
template<typename _Ptr>
using __is_custom_pointer
= std::conjunction<std::is_same<pointer, _Ptr>,
__not_<std::is_pointer<_Ptr>>>;
geode::stl::__not_<std::is_pointer<_Ptr>>>;

public:
// overload construct for non-standard pointer types
Expand Down

0 comments on commit 56da334

Please sign in to comment.