From: Maxim Mamontov Date: Thu, 26 May 2011 15:48:17 +0000 (+0300) Subject: Fix stgTime placement X-Git-Tag: 2.408-alpha~127 X-Git-Url: https://git.stg.codes/stg.git/commitdiff_plain/2d09f6a7afb3481586a9471b0cde35aac271ce9d?ds=inline Fix stgTime placement --- diff --git a/tests/main.cpp b/tests/main.cpp index 55cb4e8f..bedbc362 100644 --- a/tests/main.cpp +++ b/tests/main.cpp @@ -12,6 +12,8 @@ namespace tut test_runner_singleton runner; } +volatile time_t stgTime = 0; + int main() { tut::reporter reporter; diff --git a/tests/test_fee_charge_rules.cpp b/tests/test_fee_charge_rules.cpp index 657a609a..0b55e5de 100644 --- a/tests/test_fee_charge_rules.cpp +++ b/tests/test_fee_charge_rules.cpp @@ -8,8 +8,6 @@ #include "testadmin.h" #include "teststore.h" -const volatile time_t stgTime = 0; - namespace tut { struct fee_charge_rules_data {