Fix new GCC 9 warnings: -Wdeprecated-copy.
This commit is contained in:
@ -653,6 +653,12 @@ class Physics2DServerManager {
|
||||
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_2d_servers;
|
||||
|
||||
Reference in New Issue
Block a user