aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorGav Wood <g@ethdev.com>2015-02-14 01:33:46 +0800
committerGav Wood <g@ethdev.com>2015-02-14 01:33:46 +0800
commit3c0355c0243bf234d0129101285897aaf8c0b36b (patch)
tree9fd659bebcb7d626adf1c4381ceb4f89b09f7860
parent14b67bc0ffd7a3ee8fc4629e8cfb93e33e095858 (diff)
parent92419943d3810f3868ee06fc07dba26b8811782f (diff)
downloaddexon-solidity-3c0355c0243bf234d0129101285897aaf8c0b36b.tar.gz
dexon-solidity-3c0355c0243bf234d0129101285897aaf8c0b36b.tar.zst
dexon-solidity-3c0355c0243bf234d0129101285897aaf8c0b36b.zip
Merge pull request #1040 from CJentzsch/performanceTests
style - auto
-rw-r--r--vm.cpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/vm.cpp b/vm.cpp
index faab4812..66925f92 100644
--- a/vm.cpp
+++ b/vm.cpp
@@ -525,7 +525,7 @@ BOOST_AUTO_TEST_CASE(vmPerformanceTest)
dev::test::executeTests("vmPerformanceTest", "/VMTests", dev::test::doVMTests);
auto end = chrono::steady_clock::now();
- chrono::milliseconds duration(chrono::duration_cast<chrono::milliseconds>(end - start));
+ auto duration(chrono::duration_cast<chrono::milliseconds>(end - start));
cnote << "test duration: " << duration.count() << " milliseconds.\n";
}
}
@@ -543,7 +543,7 @@ BOOST_AUTO_TEST_CASE(vmInputLimitsTest1)
dev::test::executeTests("vmInputLimitsTest1", "/VMTests", dev::test::doVMTests);
auto end = chrono::steady_clock::now();
- chrono::milliseconds duration(chrono::duration_cast<chrono::milliseconds>(end - start));
+ auto duration(chrono::duration_cast<chrono::milliseconds>(end - start));
cnote << "test duration: " << duration.count() << " milliseconds.\n";
}
}