From 61dcedcb45d092274362acc61ecf4fc57f5d2969 Mon Sep 17 00:00:00 2001 From: Dmitri Naumov <github@naumov.de> Date: Thu, 16 Jun 2016 02:11:15 +0000 Subject: [PATCH] [IO] Make FilIO::pathSeparator static. It is defined multiple times through different translation units. --- BaseLib/FileTools.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/BaseLib/FileTools.cpp b/BaseLib/FileTools.cpp index a21b7d8d457..35018226d34 100644 --- a/BaseLib/FileTools.cpp +++ b/BaseLib/FileTools.cpp @@ -141,7 +141,7 @@ std::string extractPath(std::string const& pathname) return ""; return pathname.substr(0, pos + 1); } -const char * pathSeparator = +static const char * pathSeparator = #ifdef _WIN32 "\\"; #else -- GitLab