Skip to content

Commit

Permalink
Clang 10 warning fix: -Wdeprecated-copy.
Browse files Browse the repository at this point in the history
  • Loading branch information
Pentarctagon committed May 4, 2020
1 parent 8403b15 commit 72635ea
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions src/addon/info.hpp
Expand Up @@ -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;
Expand Down

0 comments on commit 72635ea

Please sign in to comment.