ok apple clang can handle it

This commit is contained in:
matcool 2024-06-13 12:14:05 -03:00
parent b22a59d41e
commit bacab92b75

View file

@ -466,15 +466,6 @@ namespace geode {
};
}
// apple clang is stupid, probably
#ifdef __APPLE_CC__
GEODE_HIDDEN inline char const* operator"" _spr(char const* str, size_t len) {
return geode::Mod::get()->expandSpriteName({ str, len }).data();
}
#else
namespace geode::geode_internal {
// this impl relies on the GEODE_MOD_ID macro set by cmake
template <size_t N>
@ -498,5 +489,3 @@ template <geode::geode_internal::StringConcatModIDSlash Str>
constexpr auto operator""_spr() {
return Str.buffer;
}
#endif