debug: correct CHECK_NEZ error message
This commit is contained in:
parent
5634e59dc5
commit
2b3ef6dbc6
@ -11,7 +11,7 @@
|
||||
* See the License for the specific language governing permissions and
|
||||
* limitations under the License.
|
||||
*
|
||||
* Copyright 2010-2015 Danny Robson <danny@nerdcruft.net>
|
||||
* Copyright 2010-2017 Danny Robson <danny@nerdcruft.net>
|
||||
*/
|
||||
|
||||
#ifndef __DEBUG_HPP
|
||||
@ -222,7 +222,7 @@
|
||||
DEBUG_ONLY ( \
|
||||
const auto &__a = (A); \
|
||||
if (::util::exactly_zero (__a)) \
|
||||
_CHECK_PANIC ("expected zero\n" \
|
||||
_CHECK_PANIC ("expected non-zero\n" \
|
||||
"__a: %s is %!", \
|
||||
#A, __a); \
|
||||
); \
|
||||
|
Loading…
Reference in New Issue
Block a user