diff OrthancFramework/Sources/FileStorage/FilesystemStorage.cpp @ 4300:b30a8de92ad9

abi continued
author Sebastien Jodogne <s.jodogne@gmail.com>
date Thu, 05 Nov 2020 19:33:18 +0100
parents 0034f855c023
children d9473bd5ed43
line wrap: on
line diff
--- a/OrthancFramework/Sources/FileStorage/FilesystemStorage.cpp	Thu Nov 05 18:24:50 2020 +0100
+++ b/OrthancFramework/Sources/FileStorage/FilesystemStorage.cpp	Thu Nov 05 19:33:18 2020 +0100
@@ -76,6 +76,19 @@
     SystemToolbox::MakeDirectory(root);
   }
 
+  FilesystemStorage::FilesystemStorage(const std::string &root) :
+    fsyncOnWrite_(false)
+  {
+    Setup(root);
+  }
+
+  FilesystemStorage::FilesystemStorage(const std::string &root,
+                                       bool fsyncOnWrite) :
+    fsyncOnWrite_(fsyncOnWrite)
+  {
+    Setup(root);
+  }
+
 
 
   static const char* GetDescriptionInternal(FileContentType content)