mirror of
https://github.com/PCSX2/pcsx2.git
synced 2024-10-07 07:23:28 +00:00
SmallString: Add end_ptr()
This commit is contained in:
parent
8a84d4812f
commit
824ef9a9d3
@ -171,6 +171,9 @@ public:
|
||||
// gets a writable char array, do not write more than reserve characters to it.
|
||||
__fi char* data() { return m_buffer; }
|
||||
|
||||
// returns the end of the string (pointer is past the last character)
|
||||
__fi const char* end_ptr() const { return m_buffer + m_length; }
|
||||
|
||||
// STL adapters
|
||||
__fi void push_back(value_type&& val) { append(val); }
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user