diff options
author | moneromooo-monero <moneromooo-monero@users.noreply.github.com> | 2016-02-13 19:49:36 +0000 |
---|---|---|
committer | moneromooo-monero <moneromooo-monero@users.noreply.github.com> | 2016-02-13 19:49:36 +0000 |
commit | d56b2e5baf2a7e3e723a6f30ee49200461ab7de0 (patch) | |
tree | e31bbe10c5d0294b2a196b01b69957d52cf2b1d8 /tests/core_tests | |
parent | Merge pull request #657 (diff) | |
download | monero-d56b2e5baf2a7e3e723a6f30ee49200461ab7de0.tar.xz |
core_tests: fix a compile problem with CLANG
It doesn't like const objects from classes that do not have
a user defined ctor, apparently.
Reported by othe.
Diffstat (limited to 'tests/core_tests')
-rw-r--r-- | tests/core_tests/chaingen.h | 2 |
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, >o.test_options)) { std::cout << concolor::magenta << "Failed to init core" << concolor::normal << std::endl; |