chore(ios): revert some whitespace changes to match upstream

Signed-off-by: rooot <hey@rooot.gay>
This commit is contained in:
rooot 2025-03-11 21:03:00 +01:00
parent e7d5359069
commit e2a4442261
No known key found for this signature in database
GPG key ID: 3582D7B034FF964F
5 changed files with 8 additions and 6 deletions
loader
include/Geode
c++stl
cocos/robtop/keyboard_dispatcher
ui
src
c++stl
platform

View file

@ -77,7 +77,7 @@ namespace gd {
string& operator=(std::string const&);
void clear();
char& at(size_t pos);
char const& at(size_t pos) const;
@ -114,4 +114,4 @@ namespace gd {
};
#endif
}
}

View file

@ -220,6 +220,8 @@ public:
virtual ~CCKeyboardHandler();
CCKeyboardHandler& operator=(const CCKeyboardHandler&);
CCKeyboardDelegate* getDelegate();
static CCKeyboardHandler* handlerWithDelegate(CCKeyboardDelegate* pDelegate);

View file

@ -138,8 +138,8 @@ namespace geode {
protected:
/**
* Init with AnchorLayout and the content size of `m_buttonMenu` and
* `m_bgSprite` being tied to the size of `m_mainLayer` (rather than
* Init with AnchorLayout and the content size of `m_buttonMenu` and
* `m_bgSprite` being tied to the size of `m_mainLayer` (rather than
* being the size of the window)
*/
bool initAnchored(

View file

@ -76,7 +76,7 @@ namespace gd {
impl.free();
impl.setEmpty();
}
char& string::at(size_t pos) {
if (pos >= this->size())
throw std::out_of_range("gd::string::at");

View file

@ -19,4 +19,4 @@ using namespace geode::prelude;
#include "ios/FileWatcher.mm"
#include "ios/util.mm"
#endif
#endif