mirror of
https://github.com/monero-project/monero.git
synced 2025-08-25 05:09:25 -04:00
move g_test_dbg_lock_sleep from a global to a function level static
This avoids the need to define that variable in every program which uses epee.
This commit is contained in:
parent
3860feecb8
commit
5e3557d2c3
18 changed files with 13 additions and 37 deletions
|
@ -132,7 +132,7 @@ int main(int argc, char const * argv[])
|
|||
return 0;
|
||||
}
|
||||
|
||||
epee::g_test_dbg_lock_sleep = command_line::get_arg(vm, command_line::arg_test_dbg_lock_sleep);
|
||||
epee::debug::g_test_dbg_lock_sleep() = command_line::get_arg(vm, command_line::arg_test_dbg_lock_sleep);
|
||||
|
||||
std::string db_type = command_line::get_arg(vm, command_line::arg_db_type);
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue