X-Git-Url: https://git.lyx.org/gitweb/?a=blobdiff_plain;f=src%2Ffrontends%2FTimeout.C;h=7ef659b3d9482d6e2c5411cb61639e41791b0ff7;hb=31334d39348282d4586eb82b9bb5e91f03018542;hp=64f1faf062454f73999949acee3d7106de1c831e;hpb=d6cb58ab663a42b3a8b04e3a3ac40f9e4074ae12;p=lyx.git diff --git a/src/frontends/Timeout.C b/src/frontends/Timeout.C index 64f1faf062..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. * @@ -13,9 +13,8 @@ #include "Timeout.h" -#include "support/LAssert.h" -using namespace lyx::support; +namespace lyx { Timeout::~Timeout() @@ -68,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