From 9e10f632c7a5d66b0f896753e197970eec3ab7cf Mon Sep 17 00:00:00 2001 From: Chris Robinson Date: Sat, 24 Nov 2018 16:58:49 -0800 Subject: Replace remaining uses of std::vector with al::vector Which uses a custom allocator that uses our allocation functions. --- OpenAL32/alFilter.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'OpenAL32/alFilter.cpp') diff --git a/OpenAL32/alFilter.cpp b/OpenAL32/alFilter.cpp index bda03fae..5b15e7e0 100644 --- a/OpenAL32/alFilter.cpp +++ b/OpenAL32/alFilter.cpp @@ -373,7 +373,7 @@ AL_API ALvoid AL_APIENTRY alGenFilters(ALsizei n, ALuint *filters) /* Store the allocated buffer IDs in a separate local list, to avoid * modifying the user storage in case of failure. */ - std::vector ids; + al::vector ids; ids.reserve(n); do { ALfilter *filter = AllocFilter(context.get()); -- cgit v1.2.3