clang-format changed file
This commit is contained in:
parent
b1646622e6
commit
24d0af6faf
@ -37,7 +37,7 @@ template <> struct is_container<osmium::Way> : std::false_type
|
||||
template <> struct is_container<osmium::Relation> : std::false_type
|
||||
{
|
||||
};
|
||||
}
|
||||
} // namespace sol
|
||||
|
||||
namespace osrm
|
||||
{
|
||||
@ -91,7 +91,7 @@ struct to_lua_object : public boost::static_visitor<sol::object>
|
||||
auto operator()(boost::blank &) const { return sol::nil; }
|
||||
sol::state &state;
|
||||
};
|
||||
}
|
||||
} // namespace
|
||||
|
||||
Sol2ScriptingEnvironment::Sol2ScriptingEnvironment(
|
||||
const std::string &file_name,
|
||||
@ -589,7 +589,6 @@ void Sol2ScriptingEnvironment::InitContext(LuaScriptingContext &context)
|
||||
};
|
||||
|
||||
auto initialize_V3_extraction_turn = [&]() {
|
||||
|
||||
context.state.new_usertype<ExtractionTurn>(
|
||||
"ExtractionTurn",
|
||||
"angle",
|
||||
@ -944,7 +943,8 @@ Sol2ScriptingEnvironment::GetStringListFromTable(const std::string &table_name)
|
||||
auto &context = GetSol2Context();
|
||||
BOOST_ASSERT(context.state.lua_state() != nullptr);
|
||||
std::vector<std::string> strings;
|
||||
if(context.profile_table[table_name] == sol::nil){
|
||||
if (context.profile_table[table_name] == sol::nil)
|
||||
{
|
||||
return strings;
|
||||
}
|
||||
sol::table table = context.profile_table[table_name];
|
||||
@ -965,7 +965,8 @@ Sol2ScriptingEnvironment::GetStringListsFromTable(const std::string &table_name)
|
||||
|
||||
auto &context = GetSol2Context();
|
||||
BOOST_ASSERT(context.state.lua_state() != nullptr);
|
||||
if(context.profile_table[table_name] == sol::nil){
|
||||
if (context.profile_table[table_name] == sol::nil)
|
||||
{
|
||||
return string_lists;
|
||||
}
|
||||
sol::table table = context.profile_table[table_name];
|
||||
|
Loading…
Reference in New Issue
Block a user