Skip to content

Commit

Permalink
Fix -Wdeprecated-copy warning
Browse files Browse the repository at this point in the history
  • Loading branch information
kr0ner committed Dec 10, 2024
1 parent 4665aeb commit 26ee482
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/property.h
Original file line number Diff line number Diff line change
Expand Up @@ -33,7 +33,7 @@ struct Property {
class Mapper {
public:
Mapper() = default;
inline Mapper(const Property other) { map.insert({other.id, other}); }
inline Mapper(const Property& other) { map.insert({other.id, other}); }

Property getProperty(const std::uint16_t id);

Expand Down

0 comments on commit 26ee482

Please sign in to comment.