mirror of
https://github.com/luanti-org/luanti.git
synced 2025-10-13 08:35:20 +02:00
C++11 patchset 2: remove util/cpp11.h and util/cpp11_container.h (#5821)
This commit is contained in:
@@ -38,7 +38,7 @@ void ToolCapabilities::serialize(std::ostream &os, u16 protocol_version) const
|
||||
writeS16(os, cap->uses);
|
||||
writeS16(os, cap->maxlevel);
|
||||
writeU32(os, cap->times.size());
|
||||
for (UNORDERED_MAP<int, float>::const_iterator
|
||||
for (std::unordered_map<int, float>::const_iterator
|
||||
j = cap->times.begin(); j != cap->times.end(); ++j) {
|
||||
writeS16(os, j->first);
|
||||
writeF1000(os, j->second);
|
||||
|
Reference in New Issue
Block a user