diff --git a/src/entt/entity/registry.hpp b/src/entt/entity/registry.hpp
index f5573c90d..dd997e41b 100644
--- a/src/entt/entity/registry.hpp
+++ b/src/entt/entity/registry.hpp
@@ -361,10 +361,10 @@ public:
/**
* @brief Returns the head of the list of destroyed entities.
- *
+ *
* This function is intended for use in conjunction with `assign`.
* The returned entity has an invalid identifier in all cases.
- *
+ *
* @return The head of the list of destroyed entities.
*/
[[nodiscard]] entity_type destroyed() const ENTT_NOEXCEPT {
diff --git a/src/entt/entity/sparse_set.hpp b/src/entt/entity/sparse_set.hpp
index 995f82bd0..683f4d132 100644
--- a/src/entt/entity/sparse_set.hpp
+++ b/src/entt/entity/sparse_set.hpp
@@ -526,7 +526,7 @@ public:
/**
* @brief Sort all elements according to the given comparison function.
- *
+ *
* @sa sort_n
*
* @tparam Compare Type of comparison function object.
diff --git a/test/entt/entity/handle.cpp b/test/entt/entity/handle.cpp
index ac4886f89..936e1fcf7 100644
--- a/test/entt/entity/handle.cpp
+++ b/test/entt/entity/handle.cpp
@@ -175,11 +175,11 @@ TEST(BasicHandle, Component) {
ASSERT_TRUE(registry.empty());
ASSERT_TRUE(handle.orphan());
-
+
ASSERT_EQ(42, handle.get_or_emplace(42));
ASSERT_EQ(42, handle.get_or_emplace(1));
ASSERT_EQ(42, handle.get());
-
+
ASSERT_EQ(42, *handle.try_get());
ASSERT_EQ(nullptr, handle.try_get());
ASSERT_EQ(nullptr, std::get<1>(handle.try_get()));
diff --git a/test/entt/entity/view.cpp b/test/entt/entity/view.cpp
index 4298dbf85..c897bfd6a 100644
--- a/test/entt/entity/view.cpp
+++ b/test/entt/entity/view.cpp
@@ -875,4 +875,4 @@ TEST(MultiComponentView, DeductionGuide) {
static_assert(std::is_same_v, const int, double>>);
static_assert(std::is_same_v, int, const double>>);
static_assert(std::is_same_v, const int, const double>>);
-}
\ No newline at end of file
+}
diff --git a/test/entt/meta/meta_handle.cpp b/test/entt/meta/meta_handle.cpp
index 2e1fc5991..aafa50d56 100644
--- a/test/entt/meta/meta_handle.cpp
+++ b/test/entt/meta/meta_handle.cpp
@@ -5,39 +5,39 @@
#include
struct clazz_t {
- void incr() { ++value; }
- void decr() { --value; }
- int value;
+ void incr() { ++value; }
+ void decr() { --value; }
+ int value;
};
struct MetaHandle: ::testing::Test {
- static void SetUpTestCase() {
- using namespace entt::literals;
+ static void SetUpTestCase() {
+ using namespace entt::literals;
- entt::meta()
- .func<&clazz_t::incr>("incr"_hs)
- .func<&clazz_t::decr>("decr"_hs);
- }
+ entt::meta()
+ .func<&clazz_t::incr>("incr"_hs)
+ .func<&clazz_t::decr>("decr"_hs);
+ }
};
TEST_F(MetaHandle, Functionalities) {
- using namespace entt::literals;
+ using namespace entt::literals;
- clazz_t instance{};
- entt::meta_handle handle{};
+ clazz_t instance{};
+ entt::meta_handle handle{};
- ASSERT_FALSE(*handle);
+ ASSERT_FALSE(*handle);
- handle = entt::meta_handle{instance};
+ handle = entt::meta_handle{instance};
- ASSERT_TRUE(*handle);
- ASSERT_TRUE((*handle).invoke("incr"_hs));
- ASSERT_EQ(instance.value, 1);
+ ASSERT_TRUE(*handle);
+ ASSERT_TRUE((*handle).invoke("incr"_hs));
+ ASSERT_EQ(instance.value, 1);
- entt::meta_any any{std::ref(instance)};
- handle = entt::meta_handle{any};
+ entt::meta_any any{std::ref(instance)};
+ handle = entt::meta_handle{any};
- ASSERT_FALSE(std::as_const(handle)->invoke("decr"_hs));
- ASSERT_TRUE(handle->invoke("decr"_hs));
- ASSERT_EQ(instance.value, 0);
+ ASSERT_FALSE(std::as_const(handle)->invoke("decr"_hs));
+ ASSERT_TRUE(handle->invoke("decr"_hs));
+ ASSERT_EQ(instance.value, 0);
}
diff --git a/test/entt/meta/meta_pointer.cpp b/test/entt/meta/meta_pointer.cpp
index 253f9a441..4f8a2f25d 100644
--- a/test/entt/meta/meta_pointer.cpp
+++ b/test/entt/meta/meta_pointer.cpp
@@ -9,7 +9,7 @@
template
struct wrapped_shared_ptr {
wrapped_shared_ptr(Type init): ptr{new Type {init}} {}
-
+
Type & deref() const { return *ptr; }
private: