From a937ff365e90f870d3febc8ae51de11d8337f66e Mon Sep 17 00:00:00 2001 From: Arnaud Giersch Date: Thu, 26 Apr 2018 08:49:57 +0200 Subject: [PATCH] Move samples in private (anonymous) namespace. --- src/smpi/internals/smpi_bench.cpp | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/src/smpi/internals/smpi_bench.cpp b/src/smpi/internals/smpi_bench.cpp index 36b70048f9..19a3b5e437 100644 --- a/src/smpi/internals/smpi_bench.cpp +++ b/src/smpi/internals/smpi_bench.cpp @@ -294,9 +294,6 @@ public: bool need_more_benchs() const; }; -} - -std::unordered_map> samples; bool LocalData::need_more_benchs() const { @@ -308,6 +305,9 @@ bool LocalData::need_more_benchs() const return res; } +std::unordered_map> samples; +} + void smpi_sample_1(int global, const char *file, int line, int iters, double threshold) { SampleLocation loc(global, file, line); -- 2.20.1