Merge branch 'fixNdebug' into 'master'

added missing ifdef for debug



See merge request !94
7 jobs for master in 35 minutes and 30 seconds (queued for 1 second)
Status Job ID Name Coverage
  Test
passed #12505
Linux
clang-c++11

00:21:07

passed #12507
Linux
clang-c++98

00:16:45

passed #12510
Linux
cppcheck

00:00:26

passed #12504
Linux
gcc-c++11

00:35:30

passed #12506
Linux
gcc-c++98

00:04:06

passed #12508
Apple
macos-c++11

00:16:38

passed #12509
Apple
macos-c++98

00:15:25