mirror of
https://codeberg.org/anoncontributorxmr/monero.git
synced 2024-12-26 23:27:56 +00:00
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.
This commit is contained in:
parent
63e2d4195b
commit
d56b2e5baf
1 changed files with 1 additions and 1 deletions
|
@ -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;
|
||||
|
|
Loading…
Reference in a new issue