diff options
author | Chris Robinson <[email protected]> | 2018-11-24 16:58:49 -0800 |
---|---|---|
committer | Chris Robinson <[email protected]> | 2018-11-24 16:58:49 -0800 |
commit | 9e10f632c7a5d66b0f896753e197970eec3ab7cf (patch) | |
tree | e8370fd4a8ebffa3fc110aaffe4aab218ac284ec /Alc/backends/pulseaudio.cpp | |
parent | 16a60dc371254ba4936f4f5c13c32d060b9911ac (diff) |
Replace remaining uses of std::vector with al::vector
Which uses a custom allocator that uses our allocation functions.
Diffstat (limited to 'Alc/backends/pulseaudio.cpp')
-rw-r--r-- | Alc/backends/pulseaudio.cpp | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/Alc/backends/pulseaudio.cpp b/Alc/backends/pulseaudio.cpp index 9563cdd4..c64c3ed7 100644 --- a/Alc/backends/pulseaudio.cpp +++ b/Alc/backends/pulseaudio.cpp @@ -511,7 +511,7 @@ struct DevMap { { } }; -bool checkName(const std::vector<DevMap> &list, const std::string &name) +bool checkName(const al::vector<DevMap> &list, const std::string &name) { return std::find_if(list.cbegin(), list.cend(), [&name](const DevMap &entry) -> bool @@ -519,8 +519,8 @@ bool checkName(const std::vector<DevMap> &list, const std::string &name) ) != list.cend(); } -std::vector<DevMap> PlaybackDevices; -std::vector<DevMap> CaptureDevices; +al::vector<DevMap> PlaybackDevices; +al::vector<DevMap> CaptureDevices; struct PulsePlayback final : public ALCbackend { |