stl fix for member tests

This commit is contained in:
Chloe 2024-08-05 02:26:38 -07:00
parent f63bd44ad2
commit 81f8573cc5
No known key found for this signature in database
GPG key ID: D2D404DD810FE0E3
2 changed files with 2 additions and 2 deletions

View file

@ -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;

View file

@ -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();
}