mirror of
https://github.com/geode-sdk/geode.git
synced 2025-04-24 13:23:50 -04:00
chore(ios): revert some whitespace changes to match upstream
Signed-off-by: rooot <hey@rooot.gay>
This commit is contained in:
parent
e7d5359069
commit
e2a4442261
5 changed files with 8 additions and 6 deletions
loader
include/Geode
src
|
@ -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
|
||||
}
|
||||
}
|
|
@ -220,6 +220,8 @@ public:
|
|||
|
||||
virtual ~CCKeyboardHandler();
|
||||
|
||||
CCKeyboardHandler& operator=(const CCKeyboardHandler&);
|
||||
|
||||
CCKeyboardDelegate* getDelegate();
|
||||
|
||||
static CCKeyboardHandler* handlerWithDelegate(CCKeyboardDelegate* pDelegate);
|
||||
|
|
|
@ -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(
|
||||
|
|
|
@ -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");
|
||||
|
|
|
@ -19,4 +19,4 @@ using namespace geode::prelude;
|
|||
#include "ios/FileWatcher.mm"
|
||||
#include "ios/util.mm"
|
||||
|
||||
#endif
|
||||
#endif
|
Loading…
Add table
Add a link
Reference in a new issue