mirror of
https://github.com/baldurk/renderdoc.git
synced 2026-05-16 23:10:54 +00:00
Add constructors from std::string/const char * to rdctype::str
This commit is contained in:
@@ -144,6 +144,8 @@ struct str : public rdctype::array<char>
|
||||
|
||||
str() : rdctype::array<char>() {}
|
||||
str(const str &o) : rdctype::array<char>() { *this = o; }
|
||||
str(const std::string &o) : rdctype::array<char>() { *this = o; }
|
||||
str(const char *const o) : rdctype::array<char>() { *this = o; }
|
||||
str &operator=(const str &o)
|
||||
{
|
||||
// do nothing if we're self-assigning
|
||||
|
||||
Reference in New Issue
Block a user