Avoid unnecessary warnings about extra ";"
git-svn-id: http://www.openmesh.org/svnrepo/OpenMesh/trunk@393 fdac6126-5c0c-442c-9429-916003d36597
This commit is contained in:
@@ -182,7 +182,7 @@ public:
|
|||||||
typedef LoopSchemeMaskT<double, 100> LoopSchemeMaskDouble;
|
typedef LoopSchemeMaskT<double, 100> LoopSchemeMaskDouble;
|
||||||
typedef SingletonT<LoopSchemeMaskDouble> LoopSchemeMaskDoubleSingleton;
|
typedef SingletonT<LoopSchemeMaskDouble> LoopSchemeMaskDoubleSingleton;
|
||||||
|
|
||||||
};//namespace OpenMesh
|
}//namespace OpenMesh
|
||||||
|
|
||||||
#endif//LOOPSCHEMEMASKT_HH
|
#endif//LOOPSCHEMEMASKT_HH
|
||||||
|
|
||||||
|
|||||||
@@ -159,6 +159,6 @@ inline T rad_to_deg(const T& _angle)
|
|||||||
inline double log_(double _value)
|
inline double log_(double _value)
|
||||||
{ return log(_value); }
|
{ return log(_value); }
|
||||||
|
|
||||||
};//namespace OpenMesh
|
}//namespace OpenMesh
|
||||||
|
|
||||||
#endif//MATHDEFS_HH
|
#endif//MATHDEFS_HH
|
||||||
|
|||||||
@@ -200,11 +200,11 @@ SIMPLE_BINARY(unsigned long);
|
|||||||
VECTORT_BINARY( Vec##N##f ); \
|
VECTORT_BINARY( Vec##N##f ); \
|
||||||
VECTORT_BINARY( Vec##N##d );
|
VECTORT_BINARY( Vec##N##d );
|
||||||
|
|
||||||
VECTORTS_BINARY( 1 );
|
VECTORTS_BINARY( 1 )
|
||||||
VECTORTS_BINARY( 2 );
|
VECTORTS_BINARY( 2 )
|
||||||
VECTORTS_BINARY( 3 );
|
VECTORTS_BINARY( 3 )
|
||||||
VECTORTS_BINARY( 4 );
|
VECTORTS_BINARY( 4 )
|
||||||
VECTORTS_BINARY( 6 );
|
VECTORTS_BINARY( 6 )
|
||||||
|
|
||||||
#undef VECTORTS_BINARY
|
#undef VECTORTS_BINARY
|
||||||
#undef VECTORT_BINARY
|
#undef VECTORT_BINARY
|
||||||
|
|||||||
@@ -95,7 +95,7 @@ void _reverse_byte_order_N(uint8_t* _val)
|
|||||||
|
|
||||||
|
|
||||||
template <> inline
|
template <> inline
|
||||||
void _reverse_byte_order_N<1>(uint8_t* /*_val*/) { };
|
void _reverse_byte_order_N<1>(uint8_t* /*_val*/) { }
|
||||||
|
|
||||||
|
|
||||||
template <> inline
|
template <> inline
|
||||||
@@ -189,22 +189,22 @@ template <> inline uchar& reverse_byte_order(uchar& _t) { return _t; }
|
|||||||
return _t; \
|
return _t; \
|
||||||
}
|
}
|
||||||
|
|
||||||
// REVERSE_FUNDAMENTAL_TYPE(bool);
|
// REVERSE_FUNDAMENTAL_TYPE(bool)
|
||||||
// REVERSE_FUNDAMENTAL_TYPE(char);
|
// REVERSE_FUNDAMENTAL_TYPE(char)
|
||||||
// REVERSE_FUNDAMENTAL_TYPE(uchar);
|
// REVERSE_FUNDAMENTAL_TYPE(uchar)
|
||||||
REVERSE_FUNDAMENTAL_TYPE(int16_t);
|
REVERSE_FUNDAMENTAL_TYPE(int16_t)
|
||||||
REVERSE_FUNDAMENTAL_TYPE(uint16_t);
|
REVERSE_FUNDAMENTAL_TYPE(uint16_t)
|
||||||
// REVERSE_FUNDAMENTAL_TYPE(int);
|
// REVERSE_FUNDAMENTAL_TYPE(int)
|
||||||
// REVERSE_FUNDAMENTAL_TYPE(uint);
|
// REVERSE_FUNDAMENTAL_TYPE(uint)
|
||||||
|
|
||||||
REVERSE_FUNDAMENTAL_TYPE(unsigned long);
|
REVERSE_FUNDAMENTAL_TYPE(unsigned long)
|
||||||
REVERSE_FUNDAMENTAL_TYPE(int32_t);
|
REVERSE_FUNDAMENTAL_TYPE(int32_t)
|
||||||
REVERSE_FUNDAMENTAL_TYPE(uint32_t);
|
REVERSE_FUNDAMENTAL_TYPE(uint32_t)
|
||||||
REVERSE_FUNDAMENTAL_TYPE(int64_t);
|
REVERSE_FUNDAMENTAL_TYPE(int64_t)
|
||||||
REVERSE_FUNDAMENTAL_TYPE(uint64_t);
|
REVERSE_FUNDAMENTAL_TYPE(uint64_t)
|
||||||
REVERSE_FUNDAMENTAL_TYPE(float);
|
REVERSE_FUNDAMENTAL_TYPE(float)
|
||||||
REVERSE_FUNDAMENTAL_TYPE(double);
|
REVERSE_FUNDAMENTAL_TYPE(double)
|
||||||
REVERSE_FUNDAMENTAL_TYPE(long double);
|
REVERSE_FUNDAMENTAL_TYPE(long double)
|
||||||
|
|
||||||
#undef REVERSE_FUNDAMENTAL_TYPE
|
#undef REVERSE_FUNDAMENTAL_TYPE
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user