aboutsummaryrefslogtreecommitdiff
path: root/src/util.cpp
diff options
context:
space:
mode:
authorChun Kuan Lee <ken2812221@gmail.com>2018-08-04 13:32:13 +0000
committerChun Kuan Lee <ken2812221@gmail.com>2018-09-26 08:47:42 +0800
commita554cc901a32f41162089d6b20ad39d5aeff0583 (patch)
tree8ec51478dcc3e88967091a1f2428cde28c5b7be2 /src/util.cpp
parent86eb3b3f1ab594142b6baa9576717ff121f3b745 (diff)
Move boost/std fstream to fsbridge
Diffstat (limited to 'src/util.cpp')
-rw-r--r--src/util.cpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/util.cpp b/src/util.cpp
index fa624aee90..a8b67dfee4 100644
--- a/src/util.cpp
+++ b/src/util.cpp
@@ -891,7 +891,7 @@ bool ArgsManager::ReadConfigFiles(std::string& error, bool ignore_invalid_keys)
}
const std::string confPath = GetArg("-conf", BITCOIN_CONF_FILENAME);
- fs::ifstream stream(GetConfigFile(confPath));
+ fsbridge::ifstream stream(GetConfigFile(confPath));
// ok to not have a config file
if (stream.good()) {
@@ -924,7 +924,7 @@ bool ArgsManager::ReadConfigFiles(std::string& error, bool ignore_invalid_keys)
}
for (const std::string& to_include : includeconf) {
- fs::ifstream include_config(GetConfigFile(to_include));
+ fsbridge::ifstream include_config(GetConfigFile(to_include));
if (include_config.good()) {
if (!ReadConfigStream(include_config, error, ignore_invalid_keys)) {
return false;