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:
moneromooo-monero
2016-02-22 19:34:09 +00:00
parent 3860feecb8
commit 5e3557d2c3
18 changed files with 13 additions and 37 deletions
-2
View File
@@ -49,8 +49,6 @@ namespace po = boost::program_options;
using namespace cryptonote;
using namespace nodetool;
unsigned int epee::g_test_dbg_lock_sleep = 0;
namespace
{
const command_line::arg_descriptor<std::string, true> arg_ip = {"ip", "set ip"};