aboutsummaryrefslogtreecommitdiff
path: root/src/daemon/main.cpp
diff options
context:
space:
mode:
authormoneromooo-monero <moneromooo-monero@users.noreply.github.com>2016-02-22 19:34:09 +0000
committermoneromooo-monero <moneromooo-monero@users.noreply.github.com>2016-02-22 19:34:09 +0000
commit5e3557d2c30f9f1a206d93441897793a993f3618 (patch)
treebf91ab81d379f9b4d6d8ad7db7feaa17fc63faf4 /src/daemon/main.cpp
parentMerge pull request #681 (diff)
downloadmonero-5e3557d2c30f9f1a206d93441897793a993f3618.tar.xz
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.
Diffstat (limited to 'src/daemon/main.cpp')
-rw-r--r--src/daemon/main.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/daemon/main.cpp b/src/daemon/main.cpp
index 089d8fb69..0717fd89b 100644
--- a/src/daemon/main.cpp
+++ b/src/daemon/main.cpp
@@ -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);