]> git.lyx.org Git - lyx.git/blobdiff - src/support/Timeout.cpp
infrastructure for 'graceful asserts'
[lyx.git] / src / support / Timeout.cpp
index 31f1aeb231d59ac263112d257c7c6f84c311d432..0c5c279b8e51d5ee3ad3ea229ad031e872c8d2a7 100644 (file)
@@ -134,7 +134,7 @@ Timeout & Timeout::setType(Type t)
 Timeout & Timeout::setTimeout(unsigned int msec)
 {
        // Can't have a timeout of zero!
-       BOOST_ASSERT(msec);
+       LASSERT(msec, /**/);
 
        timeout_ms = msec;
        return *this;