Change rdcstr WriteAll overload to non-templated

This commit is contained in:
baldurk
2020-06-03 12:28:44 +01:00
parent fc9eddce49
commit 969713dc15
+1 -2
View File
@@ -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());
}