diff OrthancFramework/Sources/FileStorage/FilesystemStorage.cpp @ 4273:0034f855c023

tuning log categories from command-line, and binary compat with orthanc framework 1.7.2
author Sebastien Jodogne <s.jodogne@gmail.com>
date Tue, 03 Nov 2020 12:24:50 +0100
parents b289a1234822
children b30a8de92ad9
line wrap: on
line diff
--- a/OrthancFramework/Sources/FileStorage/FilesystemStorage.cpp	Tue Nov 03 07:19:33 2020 +0100
+++ b/OrthancFramework/Sources/FileStorage/FilesystemStorage.cpp	Tue Nov 03 12:24:50 2020 +0100
@@ -260,4 +260,13 @@
   {
     return boost::filesystem::space(root_).available;
   }
+
+
+#if ORTHANC_BUILDING_FRAMEWORK_LIBRARY == 1
+  FilesystemStorage::FilesystemStorage(std::string root) :
+    fsyncOnWrite_(false)
+  {
+    Setup(root);
+  }
+#endif
 }