Commit 309585f0 authored by Jakub Klinkovský's avatar Jakub Klinkovský
Browse files

Switched static functions to inline

This way GCC does not complain that they are not used in some
compilation units.
parent 8e1bc32f
Loading
Loading
Loading
Loading
+2 −2
Original line number Diff line number Diff line
@@ -43,7 +43,7 @@ enum class EntityShape
   Pyramid = 14
};

static std::ostream& operator<<( std::ostream& str, EntityShape shape )
inline std::ostream& operator<<( std::ostream& str, EntityShape shape )
{
   switch( shape )
   {
@@ -95,7 +95,7 @@ static std::ostream& operator<<( std::ostream& str, EntityShape shape )
   return str;
}

static int getEntityDimension( EntityShape shape )
inline int getEntityDimension( EntityShape shape )
{
   switch( shape )
   {