Skip to content

Commit

Permalink
Reduce scope of os_pathsep to file level
Browse files Browse the repository at this point in the history
  • Loading branch information
JCGoran committed Dec 16, 2024
1 parent e9bdbd1 commit 6a3f8d8
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/oc/fileio.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -22,9 +22,9 @@

// separator for items in env variables
#if defined(WIN32)
const auto os_pathsep = std::string(";");
static const auto os_pathsep = std::string(";");
#else
const auto os_pathsep = std::string(":");
static const auto os_pathsep = std::string(":");
#endif

extern char* neuron_home;
Expand Down

0 comments on commit 6a3f8d8

Please sign in to comment.