mirror of
https://github.com/baldurk/renderdoc.git
synced 2026-05-04 17:10:47 +00:00
Remove a pointless const
Having the extra const makes no sense on an r-value and makes GCC8 unhappy.
This commit is contained in:
committed by
Baldur Karlsson
parent
b849df4143
commit
606cc3a066
@@ -761,7 +761,7 @@ struct rdcstr : public rdcarray<char>
|
||||
return !strcmp(elems, o);
|
||||
}
|
||||
bool operator==(const std::string &o) const { return o == elems; }
|
||||
bool operator==(const rdcstr &o) const { return *this == (const char *const)o.elems; }
|
||||
bool operator==(const rdcstr &o) const { return *this == (const char *)o.elems; }
|
||||
bool operator!=(const char *const o) const { return !(*this == o); }
|
||||
bool operator!=(const std::string &o) const { return !(*this == o); }
|
||||
bool operator!=(const rdcstr &o) const { return !(*this == o); }
|
||||
|
||||
Reference in New Issue
Block a user