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 Name Job ID Coverage
  Test
passed clang-c++11 #12505
Linux

00:21:07

passed clang-c++98 #12507
Linux

00:16:45

passed cppcheck #12510
Linux

00:00:26

passed gcc-c++11 #12504
Linux

00:35:30

passed gcc-c++98 #12506
Linux

00:04:06

passed macos-c++11 #12508
Apple

00:16:38

passed macos-c++98 #12509
Apple

00:15:25