Commit e11f553c authored by David Bommes's avatar David Bommes

added missing ifdef for debug

parent c70cdc21
Pipeline #3123 passed with stage
in 35 minutes and 26 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