mirror of https://github.com/davisking/dlib.git
Added std::boolalpha to the ostringstream so that bool messages
get printed in a nice way. --HG-- extra : convert_revision : svn%3Afdd8eb12-d10e-0410-9acb-85c331704f74/trunk%403213
This commit is contained in:
parent
22b3cc0f4b
commit
21674daa5c
|
@ -75,7 +75,7 @@ namespace dlib
|
|||
dlib__out << "Error occurred in file " << __FILE__ << ".\n"; \
|
||||
dlib__out << "Error occurred in function " << DLIB_FUNCTION_NAME << ".\n\n"; \
|
||||
dlib__out << "Failing expression was " << #_exp << ".\n"; \
|
||||
dlib__out << _message << "\n"; \
|
||||
dlib__out << std::boolalpha << _message << "\n"; \
|
||||
throw dlib::fatal_error(dlib::EBROKEN_ASSERT,dlib__out.str()); \
|
||||
}}
|
||||
|
||||
|
|
Loading…
Reference in New Issue