From b175dcc6403e9d8c033e1329c44171cc7dc4c90c Mon Sep 17 00:00:00 2001 From: guj Date: Fri, 20 Sep 2024 13:22:11 -0700 Subject: [PATCH] parameter fix --- examples/8c_benchmark_ptl_parallel.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/examples/8c_benchmark_ptl_parallel.cpp b/examples/8c_benchmark_ptl_parallel.cpp index 779339069a..91eb0c3382 100644 --- a/examples/8c_benchmark_ptl_parallel.cpp +++ b/examples/8c_benchmark_ptl_parallel.cpp @@ -212,7 +212,7 @@ static std::map m_GlobalProfilers; class Checkpoint { public: - Checkpoint(std::string name, int rank) + Checkpoint(std::string const& name, int rank) :m_name(name) { auto fp = m_GlobalProfilers.find(name);