Skip to content
Snippets Groups Projects
Commit 7e4f5f7f authored by Jakub Klinkovský's avatar Jakub Klinkovský
Browse files

Fixed return types in Documentation/Examples/ObjectExample_getType.cpp

parent 5843c7e1
No related branches found
No related tags found
No related merge requests found
......@@ -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();
}
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment