mirror of
https://github.com/baldurk/renderdoc.git
synced 2026-05-04 09:00:44 +00:00
Change rdcstr WriteAll overload to non-templated
This commit is contained in:
@@ -349,8 +349,7 @@ bool WriteAll(const rdcstr &filename, const rdcarray<T> &buffer)
|
||||
return WriteAll(filename, buffer.data(), buffer.size() * sizeof(T));
|
||||
}
|
||||
|
||||
template <typename T>
|
||||
bool WriteAll(const rdcstr &filename, const rdcstr &buffer)
|
||||
inline bool WriteAll(const rdcstr &filename, const rdcstr &buffer)
|
||||
{
|
||||
return WriteAll(filename, buffer.c_str(), buffer.length());
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user