diff --git a/libraries/libvapours/include/vapours/results/results_common.hpp b/libraries/libvapours/include/vapours/results/results_common.hpp index 13d32aff6..23610caee 100644 --- a/libraries/libvapours/include/vapours/results/results_common.hpp +++ b/libraries/libvapours/include/vapours/results/results_common.hpp @@ -171,8 +171,8 @@ namespace ams { static constexpr typename ResultTraits::BaseType StartValue = ResultTraits::MakeStaticValue::value; static constexpr typename ResultTraits::BaseType EndValue = ResultTraits::MakeStaticValue::value; public: - NX_CONSTEXPR bool Includes(Result result) { - return StartValue <= result.GetValue() && result.GetValue() <= EndValue; + static constexpr bool Includes(Result result) { + return result.GetModule() == Module && DescriptionStart <= result.GetDescription() && result.GetDescription() <= DescriptionEnd; } };