1
0
mirror of https://github.com/godotengine/godot.git synced 2025-11-29 16:16:38 +00:00

Fix new GCC 9 warnings: -Wdeprecated-copy.

(cherry picked from commit 6be77da7eb)
This commit is contained in:
marxin
2019-03-02 13:32:29 +01:00
committed by Hein-Pieter van Braam-Stewart
parent 4be1343f3c
commit c33a924c28
7 changed files with 43 additions and 0 deletions

View File

@@ -794,6 +794,12 @@ class PhysicsServerManager {
ClassInfo(const ClassInfo &p_ci) :
name(p_ci.name),
create_callback(p_ci.create_callback) {}
ClassInfo operator=(const ClassInfo &p_ci) {
name = p_ci.name;
create_callback = p_ci.create_callback;
return *this;
}
};
static Vector<ClassInfo> physics_servers;