aboutsummaryrefslogtreecommitdiffhomepage
path: root/tdtl/td/tl/tl_config.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'tdtl/td/tl/tl_config.cpp')
-rw-r--r--tdtl/td/tl/tl_config.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/tdtl/td/tl/tl_config.cpp b/tdtl/td/tl/tl_config.cpp
index c42affd0a..8d2f442c2 100644
--- a/tdtl/td/tl/tl_config.cpp
+++ b/tdtl/td/tl/tl_config.cpp
@@ -40,7 +40,7 @@ void tl_config::add_type(tl_type *type) {
}
tl_type *tl_config::get_type(std::int32_t type_id) const {
- auto it = id_to_type.find(type_id);
+ std::map<std::int32_t, tl_type *>::const_iterator it = id_to_type.find(type_id);
assert(it != id_to_type.end());
return it->second;
}