map::iterator is a dependent typename and needs the typename keyword. (#4545)

This commit is contained in:
clemahieu 2024-04-09 18:01:22 +01:00 committed by GitHub
commit 923377c15b
No known key found for this signature in database
GPG key ID: B5690EEEBB952194

View file

@ -340,7 +340,7 @@ private:
private:
std::map<origin_entry, entry> queues;
std::map<origin_entry, entry>::iterator iterator{ queues.end () };
typename std::map<origin_entry, entry>::iterator iterator{ queues.end () };
size_t counter{ 0 };
std::chrono::steady_clock::time_point last_update{};