mirror of
https://github.com/geode-sdk/geode.git
synced 2024-11-15 03:25:01 -05:00
ok apple clang can handle it
This commit is contained in:
parent
b22a59d41e
commit
bacab92b75
1 changed files with 0 additions and 11 deletions
|
@ -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
|
||||
|
|
Loading…
Reference in a new issue