introduced clang-format (close #733)

This commit is contained in:
Michele Caini
2021-09-17 23:42:43 +02:00
parent be5ad379b6
commit 80b5ed3d22
125 changed files with 1536 additions and 2176 deletions

View File

@@ -8,12 +8,10 @@ struct entity_id {
static constexpr auto null = entt::null;
constexpr entity_id(entity_type value = null) ENTT_NOEXCEPT
: entt{value}
{}
: entt{value} {}
constexpr entity_id(const entity_id &other) ENTT_NOEXCEPT
: entt{other.entt}
{}
: entt{other.entt} {}
constexpr operator entity_type() const ENTT_NOEXCEPT {
return entt;