#include <config.h>
-#ifdef __GNUG__
-#pragma implementation
-#endif
-
#include "DepTable.h"
#include "debug.h"
#include "support/lyxlib.h"
#include "support/filetools.h"
#include "support/lstrings.h"
+#include "support/lyxtime.h"
#include <sys/types.h>
#include <sys/stat.h>
void DepTable::update()
{
lyxerr[Debug::DEPEND] << "Updating DepTable..." << endl;
- time_t start_time = time(0);
+ lyx::time_type const start_time = lyx::current_time();
DepList::iterator itr = deplist.begin();
while (itr != deplist.end()) {
}
++itr;
}
- time_t time_sec = time(0) - start_time;
+ lyx::time_type const time_sec = lyx::current_time() - start_time;
lyxerr[Debug::DEPEND] << "Finished updating DepTable ("
<< time_sec << " sec)." << endl;
}