diff options
| author | lioncash <mathew1900@hotmail.com> | 2013-01-15 12:47:13 -0500 |
|---|---|---|
| committer | lioncash <mathew1900@hotmail.com> | 2013-01-15 12:47:13 -0500 |
| commit | 1cf7cbb936a47d305f5d82e75f2f6f57c8553a8a (patch) | |
| tree | fb2114d0cd46d7355ed4bd894ef7210b9d54d040 /Source/Core/AudioCommon | |
| parent | 866cdc5961590e3a17cf3d6f753fb96c6b66dc9e (diff) | |
Fix a clear bug in aldlist.cpp.
Properly clears itself now.
Diffstat (limited to 'Source/Core/AudioCommon')
| -rw-r--r-- | Source/Core/AudioCommon/Src/aldlist.cpp | 4 |
1 files 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(); } /* |
