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:
Davis King 2009-09-20 14:33:57 +00:00
parent 22b3cc0f4b
commit 21674daa5c
1 changed files with 1 additions and 1 deletions

View File

@ -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()); \
}}