Browse Source

updated doc

Michele Caini 6 years ago
parent
commit
6340423b32
1 changed files with 3 additions and 3 deletions
  1. 3 3
      src/entt/meta/factory.hpp

+ 3 - 3
src/entt/meta/factory.hpp

@@ -265,9 +265,9 @@ public:
      *
      *
      * Conversion functions can be either free functions or member
      * Conversion functions can be either free functions or member
      * functions.<br/>
      * functions.<br/>
-     * In case of free functions, they must accept a reference to an instance of
-     * the parent type as an argument. Otherwise, they must accept no arguments
-     * at all.
+     * In case of free functions, they must accept a const reference to an
+     * instance of the parent type as an argument. In case of member functions,
+     * they should have no arguments at all.
      *
      *
      * @tparam Candidate The actual function to use for the conversion.
      * @tparam Candidate The actual function to use for the conversion.
      * @return A meta factory for the parent type.
      * @return A meta factory for the parent type.