X-Git-Url: https://git.lyx.org/gitweb/?a=blobdiff_plain;f=src%2Ffrontends%2FTimeout.C;h=7ef659b3d9482d6e2c5411cb61639e41791b0ff7;hb=31334d39348282d4586eb82b9bb5e91f03018542;hp=db0b959c1dcd8653b5b5e37b84e9535f7570db06;hpb=0be0fcfd5907d448cd51addf83ed7032719a0692;p=lyx.git diff --git a/src/frontends/Timeout.C b/src/frontends/Timeout.C index db0b959c1d..7ef659b3d9 100644 --- a/src/frontends/Timeout.C +++ b/src/frontends/Timeout.C @@ -1,5 +1,5 @@ /** - * \file Timeout.C + * \file Timeout.cpp * This file is part of LyX, the document processor. * Licence details can be found in the file COPYING. * @@ -12,9 +12,9 @@ #include #include "Timeout.h" -#include "support/LAssert.h" -using namespace lyx::support; + +namespace lyx { Timeout::~Timeout() @@ -67,8 +67,11 @@ 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; } + + +} // namespace lyx