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
-6
View File
@@ -30,12 +30,6 @@
#pragma once
#include "cryptonote_protocol/cryptonote_protocol_handler.h"
#include "misc_log_ex.h"
#include "p2p/net_node.h"
#include <stdexcept>
#include <boost/program_options.hpp>
namespace daemonize
{