From 62f1971f7b3939cb2942d64a166595cc01d5bc4b Mon Sep 17 00:00:00 2001 From: Michele Caini Date: Fri, 7 Apr 2023 15:58:48 +0200 Subject: [PATCH] test: minor changes --- test/entt/entity/registry.cpp | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/test/entt/entity/registry.cpp b/test/entt/entity/registry.cpp index 14bf0583a..3da7f117c 100644 --- a/test/entt/entity/registry.cpp +++ b/test/entt/entity/registry.cpp @@ -73,11 +73,11 @@ struct destruction_order { destruction_order(const entt::registry &ref, bool &ctx) : registry{&ref}, ctx_check{&ctx} { - *ctx_check = (registry->ctx().find() != nullptr); + *ctx_check = (registry->ctx().find() != nullptr); } ~destruction_order() { - *ctx_check = *ctx_check && (registry->ctx().find() != nullptr); + *ctx_check = *ctx_check && (registry->ctx().find() != nullptr); } private: