Browse Source

The function in ClassDB is register_class not register_types

The function in ClassDB is register_class not register_types
Tyler Yocolano 8 years ago
parent
commit
e0769435ba
1 changed files with 1 additions and 1 deletions
  1. 1 1
      development/cpp/custom_modules_in_cpp.rst

+ 1 - 1
development/cpp/custom_modules_in_cpp.rst

@@ -141,7 +141,7 @@ With the following contents:
 
 
     void register_summator_types() {
     void register_summator_types() {
 
 
-            ClassDB::register_type<Summator>();
+            ClassDB::register_class<Summator>();
     }
     }
 
 
     void unregister_summator_types() {
     void unregister_summator_types() {