]> git.stg.codes - stg.git/commitdiff
Fix stgTime placement
authorMaxim Mamontov <faust@gts.dp.ua>
Thu, 26 May 2011 15:48:17 +0000 (18:48 +0300)
committerMaxim Mamontov <faust@gts.dp.ua>
Thu, 26 May 2011 15:48:17 +0000 (18:48 +0300)
tests/main.cpp
tests/test_fee_charge_rules.cpp

index 55cb4e8f57a3f5e0be6e9a36f7216fee47bf4b18..bedbc36258b72b358e34653970732ad07a503bf4 100644 (file)
@@ -12,6 +12,8 @@ namespace tut
     test_runner_singleton runner;
 }
 
+volatile time_t stgTime = 0;
+
 int main()
 {
     tut::reporter reporter;
index 657a609ae036c9264e64201ea0d61957b4d198d1..0b55e5de5f2b96dc20f8619483cc28163bb787b3 100644 (file)
@@ -8,8 +8,6 @@
 #include "testadmin.h"
 #include "teststore.h"
 
-const volatile time_t stgTime = 0;
-
 namespace tut
 {
     struct fee_charge_rules_data {