diff Framework/Common/Dictionary.cpp @ 244:02cd7254c949

separating class InputFileValue from FileValue
author Sebastien Jodogne <s.jodogne@gmail.com>
date Tue, 13 Apr 2021 18:43:21 +0200
parents 3236894320d6
children 87f0e29a1dc1
line wrap: on
line diff
--- a/Framework/Common/Dictionary.cpp	Tue Apr 13 17:53:53 2021 +0200
+++ b/Framework/Common/Dictionary.cpp	Tue Apr 13 18:43:21 2021 +0200
@@ -22,7 +22,7 @@
 #include "Dictionary.h"
 
 #include "BinaryStringValue.h"
-#include "FileValue.h"
+#include "InputFileValue.h"
 #include "Integer64Value.h"
 #include "NullValue.h"
 #include "Utf8StringValue.h"
@@ -104,7 +104,7 @@
   void Dictionary::SetFileValue(const std::string& key,
                                 const std::string& file)
   {
-    SetValue(key, new FileValue(file));
+    SetValue(key, new InputFileValue(file));
   }
 
   
@@ -112,7 +112,7 @@
                                 const void* content,
                                 size_t size)
   {
-    SetValue(key, new FileValue(content, size));
+    SetValue(key, new InputFileValue(content, size));
   }