Browse Source

*: minor changes here and there

Michele Caini 5 years ago
parent
commit
cf176719a8
3 changed files with 3 additions and 4 deletions
  1. 0 1
      TODO
  2. 2 2
      docs/md/meta.md
  3. 1 1
      src/entt/meta/meta.hpp

+ 0 - 1
TODO

@@ -19,7 +19,6 @@
 
 
 WIP:
 WIP:
 * HP: headless (sparse set only) view
 * 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: 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!!
 * HP: write documentation for custom storages and views!!
 * suppress warnings in meta.hpp (uninitialized members)
 * suppress warnings in meta.hpp (uninitialized members)

+ 2 - 2
docs/md/meta.md

@@ -194,8 +194,8 @@ definitely worth the price, at least for me.
 
 
 ## Any to the rescue
 ## Any to the rescue
 
 
-The reflection system offers a kind of _extended version_ of the `any` class
-(see the core module for more details).<br/>
+The reflection system offers a kind of _extended version_ of the `entt::any`
+class (see the core module for more details).<br/>
 The purpose is to add some feature on top of those already present, so as to
 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.
 integrate it with the meta type system without having to duplicate the code.
 
 

+ 1 - 1
src/entt/meta/meta.hpp

@@ -212,7 +212,7 @@ public:
      * @param args Parameters to use to construct the instance.
      * @param args Parameters to use to construct the instance.
      */
      */
     template<typename Type, typename... Args>
     template<typename Type, typename... Args>
-    explicit meta_any(std::in_place_type_t<Type>, [[maybe_unused]] Args &&... args)
+    explicit meta_any(std::in_place_type_t<Type>, Args &&... args)
         : storage(std::in_place_type<Type>, std::forward<Args>(args)...),
         : storage(std::in_place_type<Type>, std::forward<Args>(args)...),
           vtable{&basic_vtable<Type>},
           vtable{&basic_vtable<Type>},
           node{internal::meta_info<Type>::resolve()}
           node{internal::meta_info<Type>::resolve()}