aboutsummaryrefslogtreecommitdiffstats
path: root/alc/device.cpp
diff options
context:
space:
mode:
authorChris Robinson <[email protected]>2023-12-21 21:26:36 -0800
committerChris Robinson <[email protected]>2023-12-21 21:26:36 -0800
commit863c48a3e78e8a2f1e9217eaf6cda02cbe44e366 (patch)
treef08e2a3a5e63a142824c526d8b3caaa8301d4f5f /alc/device.cpp
parentec2ffbfa6ddda5cb6fc37074e7f9e37f8315da39 (diff)
Use string_views for querying config parameters
Diffstat (limited to 'alc/device.cpp')
-rw-r--r--alc/device.cpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/alc/device.cpp b/alc/device.cpp
index 5a34ad64..f13e6071 100644
--- a/alc/device.cpp
+++ b/alc/device.cpp
@@ -55,8 +55,8 @@ ALCdevice::~ALCdevice()
void ALCdevice::enumerateHrtfs()
{
- mHrtfList = EnumerateHrtf(configValue<std::string>(nullptr, "hrtf-paths"));
- if(auto defhrtfopt = configValue<std::string>(nullptr, "default-hrtf"))
+ mHrtfList = EnumerateHrtf(configValue<std::string>({}, "hrtf-paths"));
+ if(auto defhrtfopt = configValue<std::string>({}, "default-hrtf"))
{
auto iter = std::find(mHrtfList.begin(), mHrtfList.end(), *defhrtfopt);
if(iter == mHrtfList.end())