From b328f12e4f62a63be7f67ea386340f86c271ab65 Mon Sep 17 00:00:00 2001 From: "Kuricheti, Mythreya" Date: Fri, 9 May 2025 14:18:19 -0700 Subject: [PATCH] Fix fold expr (#389) [ROCm/rocprofiler-sdk commit: f3ea8b117867c017d79950711454747b8df3a73d] --- .../source/lib/rocprofiler-sdk/context/context.hpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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) || ...); } };