summary |
shortlog |
log |
commit | commitdiff |
tree
raw |
patch |
inline | side by side (from parent 1:
ec15dfd)
* boost.C: fix namespace problem regarding assertion_failed
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@15844
a592a061-630c-0410-9148-
cb99ea01b6c8
+using lyx::lyxerr;
+using lyx::LyX;
void emergencyCleanup()
{
void emergencyCleanup()
{
LyX::cref().emergencyCleanup();
}
LyX::cref().emergencyCleanup();
}
void assertion_failed(char const * expr, char const * function,
char const * file, long line)
void assertion_failed(char const * expr, char const * function,
char const * file, long line)
<< " by failing check \"" << expr << "\""
<< " in file " << file << ":" << line << endl;
emergencyCleanup();
<< " by failing check \"" << expr << "\""
<< " in file " << file << ":" << line << endl;
emergencyCleanup();
-
-}
-
-
-} // namespace lyx
-
-
-namespace boost {
-
-void assertion_failed(char const* a, char const* b, char const* c, long d)
-{
- lyx::lyxerr << "Assertion failed: " << a << ' ' << b << ' ' << c << ' '
- << d << '\n';
-}
-
-} // boost
-