diff Framework/Common/Utf8StringValue.h @ 243:f5dc59c56e65

simplification
author Sebastien Jodogne <s.jodogne@gmail.com>
date Tue, 13 Apr 2021 17:53:53 +0200
parents 3236894320d6
children 16aac0287485
line wrap: on
line diff
--- a/Framework/Common/Utf8StringValue.h	Tue Apr 13 17:00:02 2021 +0200
+++ b/Framework/Common/Utf8StringValue.h	Tue Apr 13 17:53:53 2021 +0200
@@ -34,20 +34,11 @@
     std::string  utf8_;
 
   public:
-    explicit Utf8StringValue()
-    {
-    }
-
     explicit Utf8StringValue(const std::string& utf8) :
       utf8_(utf8)
     {
     }
 
-    explicit Utf8StringValue(const char* utf8) :
-      utf8_(utf8)
-    {
-    }
-
     const std::string& GetContent() const
     {
       return utf8_;
@@ -59,10 +50,5 @@
     }
     
     virtual IValue* Convert(ValueType target) const ORTHANC_OVERRIDE;
-
-    virtual std::string Format() const ORTHANC_OVERRIDE
-    {
-      return "[" + utf8_ + "]";
-    }
   };
 }