diff options
author | Chris Robinson <[email protected]> | 2023-05-12 18:02:12 -0700 |
---|---|---|
committer | Chris Robinson <[email protected]> | 2023-05-12 18:02:12 -0700 |
commit | e7ea579ca5f3c0da6cfe80ec9a7295bca60198aa (patch) | |
tree | 43e7e7d3ac1cbdbfd3705986238853eec72c272e /al/auxeffectslot.cpp | |
parent | 72f02418e505a192c0cc7b27cd7b3aa28a7a03ec (diff) |
Avoid using al::vector unnecessarily
Diffstat (limited to 'al/auxeffectslot.cpp')
-rw-r--r-- | al/auxeffectslot.cpp | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/al/auxeffectslot.cpp b/al/auxeffectslot.cpp index c69990fe..3a3222b8 100644 --- a/al/auxeffectslot.cpp +++ b/al/auxeffectslot.cpp @@ -341,7 +341,7 @@ START_API_FUNC } else { - al::vector<ALuint> ids; + std::vector<ALuint> ids; ALsizei count{n}; ids.reserve(static_cast<ALuint>(count)); do { @@ -383,7 +383,7 @@ START_API_FUNC } else { - auto slots = al::vector<ALeffectslot*>(static_cast<ALuint>(n)); + auto slots = std::vector<ALeffectslot*>(static_cast<ALuint>(n)); for(size_t i{0};i < slots.size();++i) { ALeffectslot *slot{LookupEffectSlot(context.get(), effectslots[i])}; @@ -466,7 +466,7 @@ START_API_FUNC context->setError(AL_INVALID_VALUE, "Playing %d effect slots", n); if(n <= 0) UNLIKELY return; - auto slots = al::vector<ALeffectslot*>(static_cast<ALuint>(n)); + auto slots = std::vector<ALeffectslot*>(static_cast<ALuint>(n)); std::lock_guard<std::mutex> _{context->mEffectSlotLock}; for(size_t i{0};i < slots.size();++i) { @@ -520,7 +520,7 @@ START_API_FUNC context->setError(AL_INVALID_VALUE, "Stopping %d effect slots", n); if(n <= 0) UNLIKELY return; - auto slots = al::vector<ALeffectslot*>(static_cast<ALuint>(n)); + auto slots = std::vector<ALeffectslot*>(static_cast<ALuint>(n)); std::lock_guard<std::mutex> _{context->mEffectSlotLock}; for(size_t i{0};i < slots.size();++i) { |