Skip to content

Commit 2da4fb0

Browse files
Update tokenize.cpp
1 parent 851b63d commit 2da4fb0

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

lib/tokenize.cpp

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1030,7 +1030,7 @@ bool Tokenizer::isFunctionPointer(const Token* tok) {
10301030

10311031
static bool matchCurrentType(const std::string& typeStr, const std::map<int, std::string>& types)
10321032
{
1033-
auto it = std::find_if(types.begin(), types.end(), [&](const auto& element) {
1033+
auto it = std::find_if(types.begin(), types.end(), [&](const std::pair<int, std::string>& element) {
10341034
return typeStr == element.second;
10351035
});
10361036
return it != types.end();

0 commit comments

Comments
 (0)