From cf176719a841508a17eec8df5fd9642974b983fb Mon Sep 17 00:00:00 2001 From: Michele Caini Date: Wed, 2 Dec 2020 15:48:14 +0100 Subject: [PATCH] *: minor changes here and there --- TODO | 1 - docs/md/meta.md | 4 ++-- src/entt/meta/meta.hpp | 2 +- 3 files changed, 3 insertions(+), 4 deletions(-) diff --git a/TODO b/TODO index b7b86a789..797573549 100644 --- a/TODO +++ b/TODO @@ -19,7 +19,6 @@ WIP: * HP: headless (sparse set only) view -* HP: fake vtable, see dino:: for a reasonable and customizable (pay-per-use) approach * HP: make view pack work also with groups, make packs input iterator only, add view adapter for external sources * HP: write documentation for custom storages and views!! * suppress warnings in meta.hpp (uninitialized members) diff --git a/docs/md/meta.md b/docs/md/meta.md index 52d8b70ef..a0e027f5d 100644 --- a/docs/md/meta.md +++ b/docs/md/meta.md @@ -194,8 +194,8 @@ definitely worth the price, at least for me. ## Any to the rescue -The reflection system offers a kind of _extended version_ of the `any` class -(see the core module for more details).
+The reflection system offers a kind of _extended version_ of the `entt::any` +class (see the core module for more details).
The purpose is to add some feature on top of those already present, so as to integrate it with the meta type system without having to duplicate the code. diff --git a/src/entt/meta/meta.hpp b/src/entt/meta/meta.hpp index 93e8b9f4f..e9da73a08 100644 --- a/src/entt/meta/meta.hpp +++ b/src/entt/meta/meta.hpp @@ -212,7 +212,7 @@ public: * @param args Parameters to use to construct the instance. */ template - explicit meta_any(std::in_place_type_t, [[maybe_unused]] Args &&... args) + explicit meta_any(std::in_place_type_t, Args &&... args) : storage(std::in_place_type, std::forward(args)...), vtable{&basic_vtable}, node{internal::meta_info::resolve()}