Skip to content

Commit

Permalink
sonar
Browse files Browse the repository at this point in the history
  • Loading branch information
luan committed Sep 12, 2023
1 parent 8d0d5d1 commit 39190f9
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion src/creatures/creature.hpp
Original file line number Diff line number Diff line change
Expand Up @@ -222,7 +222,7 @@ class Creature : virtual public Thing {
varBuffs[buff] += modifier;
}

virtual const std::vector<CreatureIcon> getIcons() const {
virtual std::vector<CreatureIcon> getIcons() const {
std::vector<CreatureIcon> icons;
icons.reserve(creatureIcons.size());
for (const auto &[_, icon] : creatureIcons) {
Expand Down
2 changes: 1 addition & 1 deletion src/creatures/monsters/monster.hpp
Original file line number Diff line number Diff line change
Expand Up @@ -160,7 +160,7 @@ class Monster final : public Creature {
return challengeFocusDuration > 0;
}

const std::vector<CreatureIcon> getIcons() const override {
std::vector<CreatureIcon> getIcons() const override {
const auto creatureIcons = Creature::getIcons();
if (!creatureIcons.empty()) {
return creatureIcons;
Expand Down

0 comments on commit 39190f9

Please sign in to comment.