Skip to content

Commit

Permalink
Codacy: Error-prone Code
Browse files Browse the repository at this point in the history
Member variable 'legacy_menu_item::default_' is not assigned a value in 'legacy_menu_item::operator='.

`default_` loooked fine, but `contained_markup_` was missing.
  • Loading branch information
GregoryLundberg committed Oct 27, 2018
1 parent c559f9f commit dec0d08
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions src/gui/auxiliary/old_markup.hpp
Expand Up @@ -73,6 +73,7 @@ class legacy_menu_item
label_ = rhs.label_;
desc_ = rhs.desc_;
default_ = rhs.default_;
contained_markup_ = rhs.contained_markup_;
}
return *this;
}
Expand Down

0 comments on commit dec0d08

Please sign in to comment.