X-Git-Url: https://git.lyx.org/gitweb/?a=blobdiff_plain;f=src%2Fsupport%2FTimeout.cpp;h=449fee033b77e1a6fc698b7595ac3d432ed47ec3;hb=c1945d27dfd19ef698ae7506c1311ce94091207a;hp=6a628fd931d244bf1840284f78b8417d492a4e25;hpb=1b1f8dd235ba8e168348cd23c824063f2595a0c5;p=lyx.git diff --git a/src/support/Timeout.cpp b/src/support/Timeout.cpp index 6a628fd931..449fee033b 100644 --- a/src/support/Timeout.cpp +++ b/src/support/Timeout.cpp @@ -158,6 +158,12 @@ Timer::Timer() : d(new Private) } +Timer::~Timer() +{ + delete d; +} + + void Timer::restart() { time(&d->start_time);