Skip to content

Commit

Permalink
Fixup
Browse files Browse the repository at this point in the history
  • Loading branch information
Vultraz committed Oct 24, 2020
1 parent d4d8b95 commit 9c8aea7
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 1 deletion.
2 changes: 1 addition & 1 deletion src/serialization/schema/type.cpp
Expand Up @@ -111,7 +111,7 @@ bool wml_type_list::matches(const std::string& value, const map& type_map) const
{
std::sregex_token_iterator it(value.begin(), value.end(), split_, -1), end;
int n = 0;
bool result = std::all_of(it, end, [this, &type_map, &n](const boost::ssub_match& match){
bool result = std::all_of(it, end, [this, &type_map, &n](const std::ssub_match& match){
// Not sure if this is necessary?
if(!match.matched) return true;
n++;
Expand Down
1 change: 1 addition & 0 deletions src/serialization/schema/type.hpp
Expand Up @@ -20,6 +20,7 @@

#pragma once

#include <map>
#include <regex>

class config;
Expand Down

0 comments on commit 9c8aea7

Please sign in to comment.