Fix clang format
This commit is contained in:
committed by
Patrick Niklaus
parent
bd6492bb38
commit
6339395cba
@@ -86,7 +86,8 @@ void SetAvoidableClasses(const ExtractorCallbacks::ClassesMap &classes_map,
|
||||
{
|
||||
if (avoidable_classes.size() > MAX_AVOIDABLE_CLASSES)
|
||||
{
|
||||
throw util::exception("Only " + std::to_string(MAX_AVOIDABLE_CLASSES) + " avoidable combinations allowed.");
|
||||
throw util::exception("Only " + std::to_string(MAX_AVOIDABLE_CLASSES) +
|
||||
" avoidable combinations allowed.");
|
||||
}
|
||||
|
||||
// The avoid index 0 is reserve for not avoiding anything
|
||||
|
||||
@@ -712,7 +712,8 @@ Sol2ScriptingEnvironment::GetStringListsFromTable(const std::string &table_name)
|
||||
sol::table inner_table = pair.second;
|
||||
if (!inner_table.valid())
|
||||
{
|
||||
throw util::exception("Expected a sub-table at " + table_name + "[" + pair.first.as<std::string>() + "]");
|
||||
throw util::exception("Expected a sub-table at " + table_name + "[" +
|
||||
pair.first.as<std::string>() + "]");
|
||||
}
|
||||
|
||||
std::vector<std::string> inner_vector;
|
||||
|
||||
Reference in New Issue
Block a user