summaryrefslogtreecommitdiff
path: root/cpp/src/Slice/Parser.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'cpp/src/Slice/Parser.cpp')
-rw-r--r--cpp/src/Slice/Parser.cpp10
1 files changed, 8 insertions, 2 deletions
diff --git a/cpp/src/Slice/Parser.cpp b/cpp/src/Slice/Parser.cpp
index 6e6d7c3e894..318a6729df2 100644
--- a/cpp/src/Slice/Parser.cpp
+++ b/cpp/src/Slice/Parser.cpp
@@ -35,10 +35,16 @@ extern int slice_debug;
// read + supports must be 0 (the default)
//
-static string readWriteAttribute[] = { "read", "write" };
-static string txAttribute[] = { "supports", "mandatory", "required", "never" };
+namespace
+{
+
+string readWriteAttribute[] = { "read", "write" };
+string txAttribute[] = { "supports", "mandatory", "required", "never" };
enum { Supports, Mandatory, Required, Never };
+}
+
+
namespace Slice
{