mirror of
https://github.com/wesnoth/wesnoth
synced 2025-05-08 02:16:26 +00:00
Clang 10 warning fix: -Wdeprecated-copy.
This commit is contained in:
parent
8403b15ca2
commit
72635ea845
@ -87,6 +87,8 @@ struct addon_info
|
||||
this->read(cfg);
|
||||
}
|
||||
|
||||
addon_info(const addon_info&) = default;
|
||||
|
||||
addon_info& operator=(const addon_info& o) {
|
||||
if(this != &o) {
|
||||
this->id = o.id;
|
||||
|
Loading…
x
Reference in New Issue
Block a user