diff options
author | Chris Robinson <[email protected]> | 2020-03-22 08:51:06 -0700 |
---|---|---|
committer | Chris Robinson <[email protected]> | 2020-03-22 08:51:06 -0700 |
commit | 9ce182228d8be25130f3f18b2d999a9612fb18f9 (patch) | |
tree | 7b45245f55a4e77dd08d6b13faa67916f5caa285 /alc/panning.cpp | |
parent | 040309b9f402f9629e1a553665ce789bd530dec2 (diff) |
Avoid some pre-C++14 workarounds
Diffstat (limited to 'alc/panning.cpp')
-rw-r--r-- | alc/panning.cpp | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/alc/panning.cpp b/alc/panning.cpp index 1f80be55..0b7b5038 100644 --- a/alc/panning.cpp +++ b/alc/panning.cpp @@ -831,7 +831,7 @@ no_hrtf: { if(*cflevopt > 0 && *cflevopt <= 6) { - device->Bs2b = al::make_unique<bs2b>(); + device->Bs2b = std::make_unique<bs2b>(); bs2b_set_params(device->Bs2b.get(), *cflevopt, static_cast<int>(device->Frequency)); TRACE("BS2B enabled\n"); @@ -852,7 +852,7 @@ no_hrtf: } if(device->mRenderMode == NormalRender) { - device->Uhj_Encoder = al::make_unique<Uhj2Encoder>(); + device->Uhj_Encoder = std::make_unique<Uhj2Encoder>(); TRACE("UHJ enabled\n"); InitUhjPanning(device); device->PostProcess = &ALCdevice::ProcessUhj; |