Mercurial > hg > orthanc
diff OrthancFramework/Sources/SystemToolbox.h @ 4279:ab4d015af660
moving inline methods to source files for ABI compatibility
author | Sebastien Jodogne <s.jodogne@gmail.com> |
---|---|
date | Tue, 03 Nov 2020 20:48:01 +0100 |
parents | b289a1234822 |
children | 52166629239f |
line wrap: on
line diff
--- a/OrthancFramework/Sources/SystemToolbox.h Tue Nov 03 20:05:55 2020 +0100 +++ b/OrthancFramework/Sources/SystemToolbox.h Tue Nov 03 20:48:01 2020 +0100 @@ -55,10 +55,7 @@ bool log); static void ReadFile(std::string& content, - const std::string& path) - { - ReadFile(content, path, true /* log */); - } + const std::string& path); static bool ReadHeader(std::string& header, const std::string& path, @@ -71,20 +68,14 @@ static void WriteFile(const void* content, size_t size, - const std::string& path) - { - WriteFile(content, size, path, false /* don't automatically call fsync */); - } + const std::string& path); static void WriteFile(const std::string& content, const std::string& path, bool callFsync); static void WriteFile(const std::string& content, - const std::string& path) - { - WriteFile(content, path, false /* don't automatically call fsync */); - } + const std::string& path); static void RemoveFile(const std::string& path);