]> git.lyx.org Git - lyx.git/blobdiff - src/frontends/Timeout.C
fix crash due to invalidated iterator
[lyx.git] / src / frontends / Timeout.C
index 64f1faf062454f73999949acee3d7106de1c831e..99ee026f82cbed1be3686c35fdcd1eb329b17cc2 100644 (file)
 
 #include "Timeout.h"
 
-#include "support/LAssert.h"
-
-using namespace lyx::support;
-
 
 Timeout::~Timeout()
 {
@@ -68,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;