diff options
author | Max Kellermann <max@duempel.org> | 2015-02-25 16:10:24 +0100 |
---|---|---|
committer | Max Kellermann <max@duempel.org> | 2015-02-25 19:17:45 +0100 |
commit | eb174d5ba317743ca21295697df90a7ed66a64bb (patch) | |
tree | 1d63d91b3517353fac94b5706d37606d93616696 /src/fs/StandardDirectory.cxx | |
parent | 4c899e9c5aec4d7fea56da95eed8784a41ea4b5b (diff) | |
download | mpd-eb174d5ba317743ca21295697df90a7ed66a64bb.tar.gz mpd-eb174d5ba317743ca21295697df90a7ed66a64bb.tar.xz mpd-eb174d5ba317743ca21295697df90a7ed66a64bb.zip |
fs/{Allocated,}Path,Charset: use PathTraitsFS typedefs
Diffstat (limited to 'src/fs/StandardDirectory.cxx')
-rw-r--r-- | src/fs/StandardDirectory.cxx | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/fs/StandardDirectory.cxx b/src/fs/StandardDirectory.cxx index 1fc76ce9f..38ea804a0 100644 --- a/src/fs/StandardDirectory.cxx +++ b/src/fs/StandardDirectory.cxx @@ -112,7 +112,7 @@ static inline AllocatedPath SafePathFromFS(PathTraitsFS::const_pointer dir) #ifdef WIN32 static AllocatedPath GetStandardDir(int folder_id) { - std::array<char, MAX_PATH> dir; + std::array<PathTraitsFS::value_type, MAX_PATH> dir; auto ret = SHGetFolderPath(nullptr, folder_id | CSIDL_FLAG_DONT_VERIFY, nullptr, SHGFP_TYPE_CURRENT, dir.data()); if (FAILED(ret)) @@ -287,7 +287,7 @@ AllocatedPath GetSystemConfigDir() AllocatedPath GetAppBaseDir() { - std::array<char, MAX_PATH> app; + std::array<PathTraitsFS::value_type, MAX_PATH> app; auto ret = GetModuleFileName(nullptr, app.data(), app.size()); // Check for error |