From 63f7e55fa7260bb70e5a58e40c1bae6f0f3eacf6 Mon Sep 17 00:00:00 2001 From: Hill Ma Date: Fri, 4 Dec 2020 11:26:35 -0800 Subject: [PATCH] Make ignstrtok private to Util.cc (#134) Signed-off-by: Hill Ma Co-authored-by: Louise Poubel --- src/Util.cc | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/Util.cc b/src/Util.cc index 2c5f8f9ad..a2057177c 100644 --- a/src/Util.cc +++ b/src/Util.cc @@ -50,9 +50,9 @@ #ifdef _WIN32 - const auto &ignstrtok = strtok_s; + static const auto &ignstrtok = strtok_s; #else - const auto &ignstrtok = strtok_r; + static const auto &ignstrtok = strtok_r; #endif static std::unique_ptr gSystemPaths(