Skip to content

Commit

Permalink
Fix [Core]: Removed warnings from parameters in FlAssert being unused…
Browse files Browse the repository at this point in the history
… when building in release mode.
  • Loading branch information
Pixfri committed Dec 22, 2024
1 parent 825e414 commit db4c739
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion Include/FlashlightEngine/Core/CoreUtils.inl
Original file line number Diff line number Diff line change
Expand Up @@ -23,7 +23,7 @@ namespace FlashlightEngine {
#else

template <typename T>
constexpr void FlAssert(T expr, const std::string& msg, const std::source_location& location) {}
constexpr void FlAssert([[maybe_unused]] T expr, [[maybe_unused]] const std::string& msg, [[maybe_unused]] const std::source_location& location) {}
#endif

template <typename T>
Expand Down

0 comments on commit db4c739

Please sign in to comment.