Replace includes of boost/filesystem.h with fs.h

This is step one in abstracting the use of boost::filesystem.
This commit is contained in:
Wladimir J. van der Laan
2017-03-01 15:54:22 +00:00
parent 19e36bbef6
commit 7d5172d354
27 changed files with 28 additions and 37 deletions

View File

@@ -7,6 +7,7 @@
#include "chainparams.h"
#include "consensus/consensus.h"
#include "consensus/validation.h"
#include "fs.h"
#include "key.h"
#include "validation.h"
#include "miner.h"
@@ -24,7 +25,6 @@
#include <memory>
#include <boost/filesystem.hpp>
#include <boost/thread.hpp>
FastRandomContext insecure_rand_ctx(true);

View File

@@ -6,12 +6,12 @@
#define BITCOIN_TEST_TEST_BITCOIN_H
#include "chainparamsbase.h"
#include "fs.h"
#include "key.h"
#include "pubkey.h"
#include "txdb.h"
#include "txmempool.h"
#include <boost/filesystem.hpp>
#include <boost/thread.hpp>
/** Basic testing setup.

View File

@@ -8,7 +8,7 @@
#include <shlobj.h>
#endif
#include <boost/filesystem.hpp>
#include "fs.h"
boost::filesystem::path GetTempPath() {
return boost::filesystem::temp_directory_path();

View File

@@ -8,7 +8,7 @@
#ifndef BITCOIN_TEST_TESTUTIL_H
#define BITCOIN_TEST_TESTUTIL_H
#include <boost/filesystem/path.hpp>
#include "fs.h"
boost::filesystem::path GetTempPath();