mirror of
https://github.com/lubosz/overte.git
synced 2025-04-10 15:57:39 +02:00
use 'auto' for very long type
This commit is contained in:
parent
24635b0451
commit
f83c6000df
1 changed files with 1 additions and 1 deletions
|
@ -71,7 +71,7 @@ void PickCacheOptimizer<T>::update(std::unordered_map<uint32_t, std::shared_ptr<
|
|||
uint32_t& nextToUpdate, uint64_t expiry, bool shouldPickHUD) {
|
||||
PickCache results;
|
||||
const uint32_t INVALID_PICK_ID = 0;
|
||||
std::unordered_map<uint32_t, std::shared_ptr<PickQuery>>::iterator itr = picks.begin();
|
||||
auto iter = picks.begin();
|
||||
if (nextToUpdate != INVALID_PICK_ID) {
|
||||
itr = picks.find(nextToUpdate);
|
||||
if (itr == picks.end()) {
|
||||
|
|
Loading…
Reference in a new issue