Michele Caini пре 6 година
родитељ
комит
6340423b32
1 измењених фајлова са 3 додато и 3 уклоњено
  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
      * 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.
      * @return A meta factory for the parent type.