Reformat repo to clang-format 7.0 rules

This commit is contained in:
Techjar
2019-05-05 23:48:12 +00:00
parent d347867f2e
commit ff972e3673
208 changed files with 311 additions and 309 deletions

View File

@ -32,4 +32,4 @@ bool ConfigLocation::operator<(const ConfigLocation& other) const
const int key_compare = strcasecmp(key.c_str(), other.key.c_str());
return key_compare < 0;
}
}
} // namespace Config

View File

@ -50,4 +50,4 @@ struct ConfigInfo
ConfigLocation location;
T default_value;
};
}
} // namespace Config

View File

@ -41,4 +41,4 @@ constexpr std::array<LayerType, 7> SEARCH_ORDER{{
LayerType::GlobalGame,
LayerType::Base,
}};
}
} // namespace Config

View File

@ -97,4 +97,4 @@ const LayerMap& Layer::GetLayerMap() const
{
return m_map;
}
}
} // namespace Config

View File

@ -42,7 +42,7 @@ inline std::optional<std::string> TryParse(const std::string& str_value)
{
return str_value;
}
}
} // namespace detail
template <typename T>
struct ConfigInfo;
@ -154,4 +154,4 @@ protected:
const LayerType m_layer;
std::unique_ptr<ConfigLayerLoader> m_loader;
};
}
} // namespace Config