X-Git-Url: https://git.lyx.org/gitweb/?a=blobdiff_plain;f=src%2Fsupport%2FLAssert.h;h=6a937266024f62faa7a5fa1e7b9fa94b6b73e94c;hb=5296e9e9952cf6e2f306077c62a1caeaf8479eed;hp=d424d93063ba73cbe9f27f609761f3313155b385;hpb=47910a7a67b9d49ccf410cc9e8d52ab89458dd56;p=lyx.git diff --git a/src/support/LAssert.h b/src/support/LAssert.h index d424d93063..6a93726602 100644 --- a/src/support/LAssert.h +++ b/src/support/LAssert.h @@ -4,7 +4,7 @@ #include "support/lyxlib.h" -extern void emergencySave(); +extern void emergencyCleanup(); namespace lyx { @@ -12,7 +12,7 @@ namespace lyx { /** Live assertion. This is a debug tool to ensure that the assertion holds. If it don't hole - we run #emergencySave()# and then #lyx::abort". + we run #emergencyCleanup()# and then #lyx::abort". @param assertion this should evaluate to true unless you want an abort. */ template @@ -20,7 +20,7 @@ inline void Assert(A assertion) { if (!assertion) { - ::emergencySave(); + ::emergencyCleanup(); lyx::abort(); } }