diff --git a/Documentation/Examples/ObjectExample_getType.cpp b/Documentation/Examples/ObjectExample_getType.cpp
index 6a5c520250dde488a6e3a531cdd1c9592e180f18..9e645ea2970ae742c49578f85d929345e00aa5ab 100644
--- a/Documentation/Examples/ObjectExample_getType.cpp
+++ b/Documentation/Examples/ObjectExample_getType.cpp
@@ -12,12 +12,12 @@ class MyArray : public Object
 {
    public:
 
-      static String getSerializationType()
+      static std::string getSerializationType()
       {
          return "MyArray< " + TNL::getType< Value >() + ", " + getType< Devices::Host >() + " >";
       }
 
-      virtual String getSerializationTypeVirtual() const override
+      virtual std::string getSerializationTypeVirtual() const override
       {
          return getSerializationType();
       }