X-Git-Url: https://git.lyx.org/gitweb/?a=blobdiff_plain;f=src%2Fsupport%2Flyxtime.cpp;h=7f2530d41553b4b8649ac5920cf888307a60365d;hb=f8cc30a1f20de97425d17fc1779041d0f963f74a;hp=b24e19e91793f146fcfb55c9642d770de3dc884a;hpb=848c89564fce9c4bfec79b915746dc6bc47abc3d;p=lyx.git diff --git a/src/support/lyxtime.cpp b/src/support/lyxtime.cpp index b24e19e917..7f2530d415 100644 --- a/src/support/lyxtime.cpp +++ b/src/support/lyxtime.cpp @@ -12,17 +12,17 @@ #include "support/lyxtime.h" -using std::string; +using namespace std; namespace lyx { -time_type current_time() +time_t current_time() { return time(0); } -string const formatted_time(time_type t, string const & fmt) +string const formatted_time(time_t t, string const & fmt) { struct tm * loc_tm = localtime(&t); char date[50];