Merge pull request #659

d56b2e5 core_tests: fix a compile problem with CLANG (moneromooo-monero)
This commit is contained in:
Riccardo Spagni 2016-02-17 17:07:53 +02:00
commit 8a6d93be25
No known key found for this signature in database
GPG key ID: 55432DF31CCD4FCD

View file

@ -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;