From 48f4feb7a73a7d799ca316e10eaa77862f4a2db8 Mon Sep 17 00:00:00 2001 From: David Kalnischkies Date: Sat, 30 Jun 2018 14:55:35 +0200 Subject: [PATCH] Fix README: identifiers are accessed via type<>() --- README.md | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/README.md b/README.md index 9eb445b80..257cc793f 100644 --- a/README.md +++ b/README.md @@ -730,10 +730,10 @@ In `EnTT`, identifiers are easily accessible: entt::DefaultRegistry registry; // standard component identifier -auto ctype = registry.component(); +auto ctype = registry.type(); // single instance component identifier -auto ttype = registry.tag(); +auto ttype = registry.type(entt::tag_t{}); ``` Once the identifiers are made available, almost everything becomes pretty