Skip to content

Commit

Permalink
Fix a clear bug in aldlist.cpp.
Browse files Browse the repository at this point in the history
Properly clears itself now.
  • Loading branch information
lioncash committed Jan 15, 2013
1 parent 866cdc5 commit 1cf7cbb
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions Source/Core/AudioCommon/Src/aldlist.cpp
Expand Up @@ -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;
Expand Down Expand Up @@ -151,7 +151,7 @@ ALDeviceList::~ALDeviceList()
}
}

vDeviceInfo.empty();
vDeviceInfo.clear();
}

/*
Expand Down

0 comments on commit 1cf7cbb

Please sign in to comment.