diff --git a/projects/rocprofiler-sdk/source/lib/rocprofiler-sdk/context/context.hpp b/projects/rocprofiler-sdk/source/lib/rocprofiler-sdk/context/context.hpp index b378f0a644..aeb790d45e 100644 --- a/projects/rocprofiler-sdk/source/lib/rocprofiler-sdk/context/context.hpp +++ b/projects/rocprofiler-sdk/source/lib/rocprofiler-sdk/context/context.hpp @@ -137,7 +137,7 @@ struct context template bool is_tracing_one_of(Args... _args) const { - return ((false || is_tracing(_args)), ...); + return (is_tracing(_args) || ...); } };