Merge pull request #4854

bd98e99c Removed a lot of unnecessary includes (Martijn Otto)
This commit is contained in:
Riccardo Spagni 2018-12-04 17:08:42 +02:00
commit c00ac446fd
No known key found for this signature in database
GPG key ID: 55432DF31CCD4FCD
39 changed files with 38 additions and 168 deletions

View file

@ -36,7 +36,6 @@
#include "crypto/hash.h"
#include "int-util.h"
#include "util.h"
#include "varint.h"
namespace tools

View file

@ -31,10 +31,7 @@
#include "command_line.h"
#include <boost/algorithm/string/compare.hpp>
#include <boost/algorithm/string/predicate.hpp>
#include <unordered_set>
#include "common/i18n.h"
#include "cryptonote_config.h"
#include "string_tools.h"
namespace command_line
{

View file

@ -33,13 +33,11 @@
#include <stdlib.h>
#include "include_base_utils.h"
#include <random>
#include <boost/filesystem/fstream.hpp>
#include <boost/thread/mutex.hpp>
#include <boost/thread/thread.hpp>
#include <boost/algorithm/string/join.hpp>
#include <boost/optional.hpp>
using namespace epee;
namespace bf = boost::filesystem;
#undef MONERO_DEFAULT_LOG_CATEGORY
#define MONERO_DEFAULT_LOG_CATEGORY "net.dns"

View file

@ -29,10 +29,7 @@
#include <string>
#include <atomic>
#include <boost/filesystem.hpp>
#include <boost/asio.hpp>
#include <boost/thread/thread.hpp>
#include "cryptonote_config.h"
#include "include_base_utils.h"
#include "file_io_utils.h"
#include "net/http_client.h"
#include "download.h"

View file

@ -31,9 +31,7 @@
#include <ctype.h>
#include <string>
#include <map>
#include "include_base_utils.h"
#include "file_io_utils.h"
#include "common/util.h"
#include "common/i18n.h"
#include "translation_files.h"

View file

@ -31,7 +31,6 @@
#include "password.h"
#include <iostream>
#include <memory.h>
#include <stdio.h>
#if defined(_WIN32)
@ -42,8 +41,6 @@
#include <unistd.h>
#endif
#include "memwipe.h"
#define EOT 0x4
namespace

View file

@ -28,10 +28,6 @@
#include "misc_log_ex.h"
#include "common/threadpool.h"
#include <cassert>
#include <limits>
#include <stdexcept>
#include "cryptonote_config.h"
#include "common/util.h"