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);