mirror of
https://github.com/wesnoth/wesnoth
synced 2025-05-12 23:46:52 +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);
|
this->read(cfg);
|
||||||
}
|
}
|
||||||
|
|
||||||
|
addon_info(const addon_info&) = default;
|
||||||
|
|
||||||
addon_info& operator=(const addon_info& o) {
|
addon_info& operator=(const addon_info& o) {
|
||||||
if(this != &o) {
|
if(this != &o) {
|
||||||
this->id = o.id;
|
this->id = o.id;
|
||||||
|
Loading…
x
Reference in New Issue
Block a user