From 7e4f5f7f83d3c75e308fb1662c4838d44f1cc370 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?Jakub=20Klinkovsk=C3=BD?= <klinkovsky@mmg.fjfi.cvut.cz>
Date: Fri, 11 Feb 2022 09:15:33 -0700
Subject: [PATCH] Fixed return types in
 Documentation/Examples/ObjectExample_getType.cpp

---
 Documentation/Examples/ObjectExample_getType.cpp | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

diff --git a/Documentation/Examples/ObjectExample_getType.cpp b/Documentation/Examples/ObjectExample_getType.cpp
index 6a5c520250..9e645ea297 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();
       }
-- 
GitLab