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