Fix new GCC 9 warnings: -Wdeprecated-copy.

This commit is contained in:
marxin
2019-03-02 13:32:29 +01:00
parent a42549b8f7
commit 6be77da7eb
7 changed files with 43 additions and 0 deletions

View File

@ -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;