X-Git-Url: https://git.lyx.org/gitweb/?a=blobdiff_plain;f=src%2Fboost.C;h=10494e226ad8ed57d0d0c36101edfed264d08906;hb=17cc48720a11a3ed65d9de29d5e7a2d29f9a41f0;hp=440b4ffd931aa6cd99d44b0e8c1d370b5eab121a;hpb=495cd0eea03f9f5471a247e60ce70abfd1114ada;p=lyx.git diff --git a/src/boost.C b/src/boost.C index 440b4ffd93..10494e226a 100644 --- a/src/boost.C +++ b/src/boost.C @@ -34,13 +34,13 @@ namespace { void emergencyCleanup() { - static bool didCleanup; - if (didCleanup) - return; + static bool didCleanup; + if (didCleanup) + return; - didCleanup = true; + didCleanup = true; - LyX::emergencyCleanup(); + LyX::cref().emergencyCleanup(); } }