Mercurial > hg > orthanc
diff Core/Toolbox.h @ 2442:330349d712f9
fix Toolbox::IsAsciiString
author | Sebastien Jodogne <s.jodogne@gmail.com> |
---|---|
date | Tue, 05 Dec 2017 21:58:09 +0100 |
parents | 68380777f9a6 |
children | 878b59270859 |
line wrap: on
line diff
--- a/Core/Toolbox.h Tue Dec 05 12:43:28 2017 +0100 +++ b/Core/Toolbox.h Tue Dec 05 21:58:09 2017 +0100 @@ -152,6 +152,8 @@ bool IsAsciiString(const void* data, size_t size); + bool IsAsciiString(const std::string& s); + std::string ConvertToAscii(const std::string& source); std::string StripSpaces(const std::string& source);