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

View File

@@ -62,8 +62,6 @@ using namespace crypto;
BOOST_CLASS_VERSION(nodetool::node_server<cryptonote::t_cryptonote_protocol_handler<tests::proxy_core> >, 1);
unsigned int epee::g_test_dbg_lock_sleep = 0;
int main(int argc, char* argv[])
{