diff --git a/libvapours/include/vapours/results/results_common.hpp b/libvapours/include/vapours/results/results_common.hpp index 13d32aff..23610cae 100644 --- a/libvapours/include/vapours/results/results_common.hpp +++ b/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; } };