mirror of
https://github.com/bitcoin/bitcoin.git
synced 2026-06-14 08:39:35 +02:00
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:
@@ -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);
|
||||
|
||||
@@ -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.
|
||||
|
||||
@@ -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();
|
||||
|
||||
@@ -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();
|
||||
|
||||
|
||||
Reference in New Issue
Block a user