aboutsummaryrefslogtreecommitdiff
path: root/src/daemon/daemon.cpp
diff options
context:
space:
mode:
authorhyc <hyc@symas.com>2015-12-21 16:21:50 +0000
committerHoward Chu <hyc@symas.com>2015-12-21 16:23:59 +0000
commit9428d53d6f9bb4a269579cfbdc993e270726bdd4 (patch)
tree79d20217fbd6c307bdd8fdc15be421c3d883e52c /src/daemon/daemon.cpp
parentMerge pull request #540 (diff)
downloadmonero-9428d53d6f9bb4a269579cfbdc993e270726bdd4.tar.xz
Strip redundant includes
In particular, <boost/program_options.hpp> blows up daemon.cpp.obj, making it too big to compile in debug mode on Win32. Even on a release build it drops daemon.cpp.o on Linux from 31MB to 20MB. This has no effect on the final linked binary size.
Diffstat (limited to '')
-rw-r--r--src/daemon/daemon.cpp6
1 files changed, 3 insertions, 3 deletions
diff --git a/src/daemon/daemon.cpp b/src/daemon/daemon.cpp
index 8a1f08c10..eda1caa44 100644
--- a/src/daemon/daemon.cpp
+++ b/src/daemon/daemon.cpp
@@ -28,6 +28,9 @@
//
// Parts of this file are originally copyright (c) 2012-2013 The Cryptonote developers
+#include <memory>
+#include <stdexcept>
+#include "misc_log_ex.h"
#include "daemon/daemon.h"
#include "common/util.h"
@@ -36,15 +39,12 @@
#include "daemon/protocol.h"
#include "daemon/rpc.h"
#include "daemon/command_server.h"
-#include "misc_log_ex.h"
#include "version.h"
#include "../../contrib/epee/include/syncobj.h"
using namespace epee;
-#include <boost/program_options.hpp>
#include <functional>
-#include <memory>
unsigned int epee::g_test_dbg_lock_sleep = 0;