Adjusted project files for new boost version.
This should be handled differently the location of boost should not be baked into the project files.
This commit is contained in:
parent
f5145f36ed
commit
780d912cd1
13 changed files with 52 additions and 43 deletions
|
|
@ -6,14 +6,14 @@ namespace boost
|
|||
void assertion_failed(char const * expr, char const * function, char const * file, long line)
|
||||
{
|
||||
std::ostringstream out;
|
||||
out << "Assertion failure int " << function << " " << file << ":" << line;
|
||||
out << "Assertion failure int " << function << " " << file << ":" << line << "\n" << expr;
|
||||
throw std::runtime_error(out.str());
|
||||
}
|
||||
|
||||
void assertion_failed_msg(char const * expr, char const * msg, char const * function, char const * file, long line)
|
||||
{
|
||||
std::ostringstream out;
|
||||
out << "Assertion failure int " << function << " " << file << ":" << line << "\n"<< msg;
|
||||
out << "Assertion failure int " << function << " " << file << ":" << line << "\n" << msg << "\n" << expr;
|
||||
throw std::runtime_error(out.str());
|
||||
}
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue