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.
This commit is contained in:
hyc
2015-12-21 16:21:50 +00:00
committed by Howard Chu
parent 0576ff42b5
commit 9428d53d6f
8 changed files with 4 additions and 24 deletions
-5
View File
@@ -30,12 +30,7 @@
#pragma once
#include "daemon/core.h"
#include "daemon/p2p.h"
#include "misc_log_ex.h"
#include "rpc/core_rpc_server.h"
#include <boost/program_options.hpp>
#include <stdexcept>
namespace daemonize
{