Merge pull request #687
5e3557d move g_test_dbg_lock_sleep from a global to a function level static (moneromooo-monero)
This commit is contained in:
@@ -45,8 +45,6 @@
|
||||
#include <iostream>
|
||||
|
||||
|
||||
unsigned int epee::g_test_dbg_lock_sleep = 0;
|
||||
|
||||
namespace
|
||||
{
|
||||
|
||||
|
||||
@@ -38,8 +38,6 @@
|
||||
#include "common/command_line.h"
|
||||
#include "version.h"
|
||||
|
||||
unsigned int epee::g_test_dbg_lock_sleep = 0;
|
||||
|
||||
namespace po = boost::program_options;
|
||||
using namespace epee; // log_space
|
||||
|
||||
|
||||
@@ -31,8 +31,6 @@
|
||||
#include "common/command_line.h"
|
||||
#include "version.h"
|
||||
|
||||
unsigned int epee::g_test_dbg_lock_sleep = 0;
|
||||
|
||||
namespace po = boost::program_options;
|
||||
using namespace epee; // log_space
|
||||
|
||||
|
||||
@@ -44,8 +44,6 @@
|
||||
|
||||
#include "fake_core.h"
|
||||
|
||||
unsigned int epee::g_test_dbg_lock_sleep = 0;
|
||||
|
||||
namespace
|
||||
{
|
||||
// CONFIG
|
||||
|
||||
@@ -32,8 +32,6 @@
|
||||
#include "common/command_line.h"
|
||||
#include "version.h"
|
||||
|
||||
unsigned int epee::g_test_dbg_lock_sleep = 0;
|
||||
|
||||
namespace po = boost::program_options;
|
||||
using namespace epee; // log_space
|
||||
|
||||
|
||||
@@ -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"};
|
||||
|
||||
@@ -46,8 +46,6 @@ using namespace epee;
|
||||
|
||||
#include <functional>
|
||||
|
||||
unsigned int epee::g_test_dbg_lock_sleep = 0;
|
||||
|
||||
namespace daemonize {
|
||||
|
||||
struct t_internals {
|
||||
|
||||
@@ -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);
|
||||
|
||||
|
||||
@@ -41,7 +41,6 @@
|
||||
|
||||
using namespace epee;
|
||||
namespace po = boost::program_options;
|
||||
unsigned int epee::g_test_dbg_lock_sleep = 0;
|
||||
|
||||
int main(int argc, char** argv)
|
||||
{
|
||||
|
||||
@@ -73,8 +73,6 @@ typedef cryptonote::simple_wallet sw;
|
||||
|
||||
#define EXTENDED_LOGS_FILE "wallet_details.log"
|
||||
|
||||
unsigned int epee::g_test_dbg_lock_sleep = 0;
|
||||
|
||||
#define DEFAULT_MIX 4
|
||||
|
||||
namespace
|
||||
|
||||
Reference in New Issue
Block a user