diff options
| author | Wladimir J. van der Laan <[email protected]> | 2017-03-01 17:05:50 +0100 |
|---|---|---|
| committer | Wladimir J. van der Laan <[email protected]> | 2017-04-03 12:32:32 +0200 |
| commit | bac5c9cf643e9333479ac667426d0b70f8f3aa7f (patch) | |
| tree | 5fc0eac69ace5d21c1a1b40e6b610058b92a4bd7 /src/qt/bitcoin.cpp | |
| parent | Replace includes of boost/filesystem.h with fs.h (diff) | |
| download | discoin-bac5c9cf643e9333479ac667426d0b70f8f3aa7f.tar.xz discoin-bac5c9cf643e9333479ac667426d0b70f8f3aa7f.zip | |
Replace uses of boost::filesystem with fs
Step two in abstracting away boost::filesystem.
To repeat this, simply run:
```
git ls-files \*.cpp \*.h | xargs sed -i 's/boost::filesystem/fs/g'
```
Diffstat (limited to 'src/qt/bitcoin.cpp')
| -rw-r--r-- | src/qt/bitcoin.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/qt/bitcoin.cpp b/src/qt/bitcoin.cpp index c0cdad3b1..23ec3ab43 100644 --- a/src/qt/bitcoin.cpp +++ b/src/qt/bitcoin.cpp @@ -608,7 +608,7 @@ int main(int argc, char *argv[]) /// 6. Determine availability of data directory and parse bitcoin.conf /// - Do not call GetDataDir(true) before this step finishes - if (!boost::filesystem::is_directory(GetDataDir(false))) + if (!fs::is_directory(GetDataDir(false))) { QMessageBox::critical(0, QObject::tr(PACKAGE_NAME), QObject::tr("Error: Specified data directory \"%1\" does not exist.").arg(QString::fromStdString(GetArg("-datadir", "")))); |