diff options
Diffstat (limited to 'test/unit/t_times.cc')
-rw-r--r-- | test/unit/t_times.cc | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/test/unit/t_times.cc b/test/unit/t_times.cc index d8a67b43..aaf31263 100644 --- a/test/unit/t_times.cc +++ b/test/unit/t_times.cc @@ -22,8 +22,8 @@ void DateTimeTestCase::tearDown() void DateTimeTestCase::testConstructors() { #ifndef NOT_FOR_PYTHON - std::time_t now = std::time(NULL); - struct tm * moment = std::localtime(&now); + std::time_t now = std::time(NULL); + struct tm * moment = std::localtime(&now); std::time_t localMoment = std::mktime(moment); #endif // NOT_FOR_PYTHON |