Fix unused param warning with ENABLE_NDEBUG.

This commit is contained in:
Marcelina Kościelnicka 2021-12-11 17:17:43 +01:00
parent d019b4e681
commit 26f0f6bb0b
1 changed files with 1 additions and 1 deletions

View File

@ -970,7 +970,7 @@ public:
#ifndef NDEBUG
void check(Module *mod = nullptr) const;
#else
void check(Module *mod = nullptr) const { }
void check(Module *mod = nullptr) const { (void)mod; }
#endif
};