]> git.lyx.org Git - lyx.git/blobdiff - src/frontends/Timeout.C
fix crash due to invalidated iterator
[lyx.git] / src / frontends / Timeout.C
index db0b959c1dcd8653b5b5e37b84e9535f7570db06..99ee026f82cbed1be3686c35fdcd1eb329b17cc2 100644 (file)
@@ -12,9 +12,6 @@
 #include <config.h>
 
 #include "Timeout.h"
-#include "support/LAssert.h"
-
-using namespace lyx::support;
 
 
 Timeout::~Timeout()
@@ -67,7 +64,7 @@ Timeout & Timeout::setType(Type t)
 Timeout & Timeout::setTimeout(unsigned int msec)
 {
        // Can't have a timeout of zero!
-       Assert(msec);
+       BOOST_ASSERT(msec);
 
        timeout_ms = msec;
        return * this;