Ver Fonte

Merge pull request #7308 from Yunusemre-Oeztuerk/patch-1

Max Hilbrunner há 2 anos atrás
pai
commit
9caad0c5e4

+ 1 - 1
tutorials/scripting/gdextension/gdextension_cpp_example.rst

@@ -455,7 +455,7 @@ show the methods we end up changing, don't remove the lines we're omitting:
         ClassDB::add_property("GDExample", PropertyInfo(Variant::FLOAT, "amplitude"), "set_amplitude", "get_amplitude");
     }
 
-    void GDExample::GDExample() {
+    GDExample::GDExample() {
         // Initialize any variables here.
         time_passed = 0.0;
         amplitude = 10.0;