aboutsummaryrefslogtreecommitdiff
path: root/tests/core_tests
diff options
context:
space:
mode:
authorRiccardo Spagni <ric@spagni.net>2016-02-17 17:07:53 +0200
committerRiccardo Spagni <ric@spagni.net>2016-02-17 17:07:53 +0200
commit8a6d93be25fda16a20716e30a92beb312214811f (patch)
tree9fa482135b7e9593c210a1162d2f5b65721e5110 /tests/core_tests
parentMerge pull request #658 (diff)
parentcore_tests: fix a compile problem with CLANG (diff)
downloadmonero-8a6d93be25fda16a20716e30a92beb312214811f.tar.xz
Merge pull request #659
d56b2e5 core_tests: fix a compile problem with CLANG (moneromooo-monero)
Diffstat (limited to 'tests/core_tests')
-rw-r--r--tests/core_tests/chaingen.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/tests/core_tests/chaingen.h b/tests/core_tests/chaingen.h
index f2bbb7346..d0d912cbb 100644
--- a/tests/core_tests/chaingen.h
+++ b/tests/core_tests/chaingen.h
@@ -497,7 +497,7 @@ inline bool do_replay_events(std::vector<test_event_entry>& events)
cryptonote::core c(&pr);
// FIXME: make sure that vm has arg_testnet_on set to true or false if
// this test needs for it to be so.
- const get_test_options<t_test_class> gto;
+ get_test_options<t_test_class> gto;
if (!c.init(vm, &gto.test_options))
{
std::cout << concolor::magenta << "Failed to init core" << concolor::normal << std::endl;