Commit e2c078a8 authored by Jan Möbius's avatar Jan Möbius

Merge branch 'fixNdebug' into 'master'

added missing ifdef for debug



See merge request !94
parents c70cdc21 e11f553c
Pipeline #3124 passed with stage
in 35 minutes and 30 seconds
......@@ -399,7 +399,9 @@ namespace OMFormat {
template <typename T> Chunk::Integer_Size integer_size(const T& d)
#endif
{
#ifndef NDEBUG
assert( is_integer(d) );
#endif
switch( sizeof(T) )
{
......@@ -423,7 +425,9 @@ namespace OMFormat {
template <typename T> Chunk::Float_Size float_size(const T& d)
#endif
{
#ifndef NDEBUG
assert( is_float(d) );
#endif
switch( sizeof(T) )
{
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment