Mercurial > hg > orthanc
diff Core/SystemToolbox.h @ 3521:793c141be598
added an option not to log ReadFile errors
author | Alain Mazy <alain@mazy.be> |
---|---|
date | Mon, 23 Sep 2019 17:47:54 +0200 |
parents | 4e43e67f8ecf |
children | 94f4a18a79cc |
line wrap: on
line diff
--- a/Core/SystemToolbox.h Thu Sep 05 18:09:21 2019 +0200 +++ b/Core/SystemToolbox.h Mon Sep 23 17:47:54 2019 +0200 @@ -59,7 +59,8 @@ ServerBarrierEvent ServerBarrier(); void ReadFile(std::string& content, - const std::string& path); + const std::string& path, + bool log = true); bool ReadHeader(std::string& header, const std::string& path,