Commit 7527973f authored by Jakub Klinkovský's avatar Jakub Klinkovský
Browse files

Fixed function overload of getSerializationType for ElementsOrganization

parent 690b4ac8
Loading
Loading
Loading
Loading
+8 −5
Original line number Diff line number Diff line
@@ -10,6 +10,8 @@

#pragma once

#include <TNL/Devices/Host.h>

namespace TNL {
namespace Containers {
namespace Segments {
@@ -26,10 +28,11 @@ struct DefaultElementsOrganization
         return ColumnMajorOrder;
   };
};

} // namespace Segments
} // namespace Containers

String getSerializationType( Containers::Segments::ElementsOrganization Organization )
inline String getSerializationType( Containers::Segments::ElementsOrganization Organization )
{
   if( Organization == Containers::Segments::RowMajorOrder )
      return String( "RowMajorOrder" );