mirror of
https://github.com/CloverHackyColor/CloverBootloader.git
synced 2024-11-23 11:35:19 +01:00
Resolved ambiguous operator for clang.
This commit is contained in:
parent
c8e8635a0c
commit
acfb89da04
@ -73,10 +73,10 @@ public:
|
||||
// XString mbs() const;
|
||||
|
||||
/* [] */
|
||||
wchar_t operator [](int i) const { return *data(i); }
|
||||
wchar_t operator [](int i) const { return *data((INTN)i); }
|
||||
wchar_t operator [](UINTN i) const { return *data(i); }
|
||||
|
||||
wchar_t& operator [](int i) { return *data(i); }
|
||||
wchar_t& operator [](int i) { return *data((INTN)i); }
|
||||
wchar_t& operator [](UINTN i) { return *data(i); }
|
||||
|
||||
wchar_t LastChar() const { if ( length() > 0 ) return data()[length()-1]; else return 0; }
|
||||
|
Loading…
Reference in New Issue
Block a user