From 1cf7cbb936a47d305f5d82e75f2f6f57c8553a8a Mon Sep 17 00:00:00 2001 From: lioncash Date: Tue, 15 Jan 2013 12:47:13 -0500 Subject: [PATCH] Fix a clear bug in aldlist.cpp. Properly clears itself now. --- Source/Core/AudioCommon/Src/aldlist.cpp | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/Source/Core/AudioCommon/Src/aldlist.cpp b/Source/Core/AudioCommon/Src/aldlist.cpp index 69d42148ae..5e2e072f7b 100644 --- a/Source/Core/AudioCommon/Src/aldlist.cpp +++ b/Source/Core/AudioCommon/Src/aldlist.cpp @@ -48,7 +48,7 @@ ALDeviceList::ALDeviceList() const char *actualDeviceName = NULL; // DeviceInfo vector stores, for each enumerated device, it's device name, selection status, spec version #, and extension support - vDeviceInfo.empty(); + vDeviceInfo.clear(); vDeviceInfo.reserve(10); defaultDeviceIndex = 0; @@ -151,7 +151,7 @@ ALDeviceList::~ALDeviceList() } } - vDeviceInfo.empty(); + vDeviceInfo.clear(); } /*