mirror of
https://github.com/geode-sdk/geode.git
synced 2024-11-14 19:15:05 -05:00
stl fix for member tests
This commit is contained in:
parent
f63bd44ad2
commit
81f8573cc5
2 changed files with 2 additions and 2 deletions
|
@ -52,7 +52,7 @@ namespace geode::stl {
|
|||
}
|
||||
|
||||
namespace gd {
|
||||
#if defined(GEODE_IS_MACOS) || defined(GEODE_IS_WINDOWS)
|
||||
#if defined(GEODE_IS_MACOS) || defined(GEODE_IS_WINDOWS) || defined(GEODE_IS_IOS)
|
||||
// rob uses libc++ now! this will prob work fine
|
||||
using string = std::string;
|
||||
|
||||
|
|
|
@ -14,7 +14,7 @@ using geode::stl::StringImpl;
|
|||
#define impl implFor((*this))
|
||||
|
||||
namespace gd {
|
||||
#if !defined(GEODE_IS_MACOS) && !defined(GEODE_IS_WINDOWS)
|
||||
#if !defined(GEODE_IS_MACOS) && !defined(GEODE_IS_IOS) && !defined(GEODE_IS_WINDOWS)
|
||||
string::string() {
|
||||
impl.setEmpty();
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue