From a88fd1c669bca963f1391c6c38aa1e20a9483a1e Mon Sep 17 00:00:00 2001 From: ceeac Date: Sun, 16 Dec 2018 13:48:23 +0100 Subject: [PATCH] Fix compile error when compiling example with GCC8 (#170) --- README.md | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/README.md b/README.md index bc8007b93..67a76521d 100644 --- a/README.md +++ b/README.md @@ -99,7 +99,7 @@ struct velocity { float dy; }; -void update(entt::registry ®istry) { +void update(entt::registry<> ®istry) { auto view = registry.view(); for(auto entity: view) { @@ -114,7 +114,7 @@ void update(entt::registry ®istry) { } } -void update(std::uint64_t dt, entt::registry ®istry) { +void update(std::uint64_t dt, entt::registry<> ®istry) { registry.view().each([dt](const auto, auto &pos, auto &vel) { // gets all the components of the view at once ...