aboutsummaryrefslogtreecommitdiffstats
path: root/alc/hrtf.cpp
diff options
context:
space:
mode:
authorChris Robinson <[email protected]>2020-03-22 08:51:06 -0700
committerChris Robinson <[email protected]>2020-03-22 08:51:06 -0700
commit9ce182228d8be25130f3f18b2d999a9612fb18f9 (patch)
tree7b45245f55a4e77dd08d6b13faa67916f5caa285 /alc/hrtf.cpp
parent040309b9f402f9629e1a553665ce789bd530dec2 (diff)
Avoid some pre-C++14 workarounds
Diffstat (limited to 'alc/hrtf.cpp')
-rw-r--r--alc/hrtf.cpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/alc/hrtf.cpp b/alc/hrtf.cpp
index a705bdd7..8078bbc3 100644
--- a/alc/hrtf.cpp
+++ b/alc/hrtf.cpp
@@ -1392,12 +1392,12 @@ HrtfStorePtr GetLoadedHrtf(const std::string &name, const char *devname, const A
ERR("Could not get resource %u, %s\n", residx, name.c_str());
return nullptr;
}
- stream = al::make_unique<idstream>(res.begin(), res.end());
+ stream = std::make_unique<idstream>(res.begin(), res.end());
}
else
{
TRACE("Loading %s...\n", fname.c_str());
- auto fstr = al::make_unique<al::ifstream>(fname.c_str(), std::ios::binary);
+ auto fstr = std::make_unique<al::ifstream>(fname.c_str(), std::ios::binary);
if(!fstr->is_open())
{
ERR("Could not open %s\n", fname.c_str());