diff options
Diffstat (limited to 'cpp/src/Slice/Util.cpp')
-rw-r--r-- | cpp/src/Slice/Util.cpp | 14 |
1 files changed, 12 insertions, 2 deletions
diff --git a/cpp/src/Slice/Util.cpp b/cpp/src/Slice/Util.cpp index 916bebbea03..b5e3cc942e0 100644 --- a/cpp/src/Slice/Util.cpp +++ b/cpp/src/Slice/Util.cpp @@ -22,7 +22,10 @@ using namespace std; using namespace Slice; -static string +namespace +{ + +string normalizePath(const string& path) { string result = path; @@ -79,6 +82,8 @@ normalizePath(const string& path) return result; } +} + string Slice::fullPath(const string& path) { @@ -186,7 +191,12 @@ Slice::changeInclude(const string& orig, const vector<string>& includePaths) return result; } -static ostream* errorStream = &cerr; +namespace +{ + +ostream* errorStream = &cerr; + +} void Slice::setErrorStream(ostream& stream) |