Skip to content

Commit

Permalink
Fixed indices_count being referenced in Release
Browse files Browse the repository at this point in the history
  • Loading branch information
flotsamarch committed Jan 11, 2023
1 parent f27b402 commit 9583c37
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions include/Misc/EnumMap.hpp
Original file line number Diff line number Diff line change
Expand Up @@ -325,7 +325,9 @@ ::EnumMap(const std::initializer_list<InitItem>& init_list)
assert(key < TEnumKey::End);

mItems[index] = std::move(value);
#ifndef NDEBUG
indices_count[index] += 1;
#endif
}

#ifndef NDEBUG
Expand Down

0 comments on commit 9583c37

Please sign in to comment.