From 2a7ce7814968f953e83322ff6b6fd12745e01f8e Mon Sep 17 00:00:00 2001 From: Luca Bertagna Date: Mon, 3 Oct 2022 13:08:18 -0600 Subject: [PATCH] Allow ADL to kick in in ekat::join --- src/ekat/util/ekat_string_utils.hpp | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/ekat/util/ekat_string_utils.hpp b/src/ekat/util/ekat_string_utils.hpp index 682fabe7..c68a44d3 100644 --- a/src/ekat/util/ekat_string_utils.hpp +++ b/src/ekat/util/ekat_string_utils.hpp @@ -44,8 +44,8 @@ std::string upper_case (const std::string& s); // E.g., if v is a vector of strings, out = v[0]+sep+v[1]+sep+... template std::string join (const Iterable& v, const std::string& sep) { - auto it = std::cbegin(v); - auto end = std::cend(v); + auto it = cbegin(v); + auto end = cend(v); if (it==end) { return ""; }