Skip to content

Commit 80cad57

Browse files
author
Daniel Kroening
committed
symbol_table: remove unneeded typename
Visual Studio 2013 treats the unneeded typename as an error.
1 parent 8300e2d commit 80cad57

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

src/util/symbol_table.cpp

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -154,7 +154,7 @@ void symbol_tablet::validate(const validation_modet vm) const
154154
std::find_if(
155155
base_map_search.first,
156156
base_map_search.second,
157-
[&symbol_key](const typename symbol_base_mapt::value_type &match) {
157+
[&symbol_key](const symbol_base_mapt::value_type &match) {
158158
return match.second == symbol_key;
159159
}) != symbol_base_map.end();
160160

@@ -177,7 +177,7 @@ void symbol_tablet::validate(const validation_modet vm) const
177177
std::find_if(
178178
module_map_search.first,
179179
module_map_search.second,
180-
[&symbol_key](const typename symbol_module_mapt::value_type &match) {
180+
[&symbol_key](const symbol_module_mapt::value_type &match) {
181181
return match.second == symbol_key;
182182
}) != symbol_module_map.end();
183183

0 commit comments

Comments
 (0)