aboutsummaryrefslogtreecommitdiff
path: root/src/util.cpp
diff options
context:
space:
mode:
authorWladimir J. van der Laan <laanwj@gmail.com>2017-03-02 09:42:12 +0100
committerWladimir J. van der Laan <laanwj@gmail.com>2017-04-03 12:33:14 +0200
commitf110272dc90cd870bfff48c9a61e091e67dbb2e9 (patch)
tree2c385efd61a2888c83cb0e0730a35913f6a707af /src/util.cpp
parent75594bd7f26b8c3842d399deec2321886b9e75ef (diff)
downloadbitcoin-f110272dc90cd870bfff48c9a61e091e67dbb2e9.tar.xz
Remove `namespace fs=fs`
Having these inside functions is silly and redundant now.
Diffstat (limited to 'src/util.cpp')
-rw-r--r--src/util.cpp4
1 files changed, 0 insertions, 4 deletions
diff --git a/src/util.cpp b/src/util.cpp
index aa5d57c413..5473799289 100644
--- a/src/util.cpp
+++ b/src/util.cpp
@@ -513,7 +513,6 @@ void PrintExceptionContinue(const std::exception* pex, const char* pszThread)
fs::path GetDefaultDataDir()
{
- namespace fs = fs;
// Windows < Vista: C:\Documents and Settings\Username\Application Data\Bitcoin
// Windows >= Vista: C:\Users\Username\AppData\Roaming\Bitcoin
// Mac: ~/Library/Application Support/Bitcoin
@@ -544,7 +543,6 @@ static CCriticalSection csPathCached;
const fs::path &GetDataDir(bool fNetSpecific)
{
- namespace fs = fs;
LOCK(csPathCached);
@@ -789,8 +787,6 @@ void ShrinkDebugFile()
#ifdef WIN32
fs::path GetSpecialFolderPath(int nFolder, bool fCreate)
{
- namespace fs = fs;
-
char pszPath[MAX_PATH] = "";
if(SHGetSpecialFolderPathA(NULL, pszPath, nFolder, fCreate))