aboutsummaryrefslogtreecommitdiffstats
path: root/Alc
diff options
context:
space:
mode:
authorChris Robinson <[email protected]>2018-11-01 08:41:23 -0700
committerChris Robinson <[email protected]>2018-11-01 08:41:23 -0700
commitd28c0eb5568180b143763fa5648e36d20d7fd575 (patch)
tree5252c775e2802f35fa598cd8c3040e4b93231fb4 /Alc
parent48f877e85954caea71b6e41aebb54a46347746a7 (diff)
Avoid uniform initialization with references
Also doesn't work with GCC 4.x
Diffstat (limited to 'Alc')
-rw-r--r--Alc/backends/pulseaudio.cpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/Alc/backends/pulseaudio.cpp b/Alc/backends/pulseaudio.cpp
index 004425ce..bdcf3cb8 100644
--- a/Alc/backends/pulseaudio.cpp
+++ b/Alc/backends/pulseaudio.cpp
@@ -602,7 +602,7 @@ static void PulsePlayback_deviceCallback(pa_context *UNUSED(context), const pa_s
return;
PlaybackDevices.emplace_back();
- DevMap &newentry{PlaybackDevices.back()};
+ DevMap &newentry = PlaybackDevices.back();
int count{0};
while(1)
@@ -1317,7 +1317,7 @@ static void PulseCapture_deviceCallback(pa_context *UNUSED(context), const pa_so
return;
CaptureDevices.emplace_back();
- DevMap &newentry{CaptureDevices.back()};
+ DevMap &newentry = CaptureDevices.back();
int count{0};
while(1)