Michele Caini 6 ani în urmă
părinte
comite
ecaa9c275c
1 a modificat fișierele cu 1 adăugiri și 1 ștergeri
  1. 1 1
      docs/md/meta.md

+ 1 - 1
docs/md/meta.md

@@ -506,7 +506,7 @@ Furthermore, the `prop` function supports different formats for properties:
 * Key only properties:
 
   ```cpp
-  entt::meta<my_type>().type("reflected_type"_hs).prop("tooltip"_hs, "message");
+  entt::meta<my_type>().type("reflected_type"_hs).prop(my_enum::key_only);
   ```
 
 In any case, one property can be associated at a time. However, it's possible to