You've already forked godot
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:
committed by
Hein-Pieter van Braam-Stewart
parent
4be1343f3c
commit
c33a924c28
@@ -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;
|
||||
|
||||
Reference in New Issue
Block a user