mirror of
https://github.com/bsnes-emu/bsnes.git
synced 2025-08-21 01:11:23 +02:00
Update to v098r10 release.
byuu says: Changelog: - synchronized tomoko, loki, icarus with extensive changes to nall (118KiB diff)
This commit is contained in:
@@ -16,7 +16,7 @@
|
||||
namespace nall {
|
||||
|
||||
auto string::operator[](int position) const -> const char& {
|
||||
if(position > size() + 1) throw exception_out_of_bounds{};
|
||||
//if(position > size() + 1) throw;
|
||||
return data()[position];
|
||||
}
|
||||
|
||||
@@ -45,10 +45,6 @@ template<typename T> auto string::_append(const stringify<T>& source) -> string&
|
||||
return *this;
|
||||
}
|
||||
|
||||
auto string::empty() const -> bool {
|
||||
return size() == 0;
|
||||
}
|
||||
|
||||
auto string::length() const -> uint {
|
||||
return strlen(data());
|
||||
}
|
||||
|
Reference in New Issue
Block a user