summaryrefslogtreecommitdiff
path: root/cpp/src
diff options
context:
space:
mode:
Diffstat (limited to 'cpp/src')
-rw-r--r--cpp/src/slice2cs/Gen.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/cpp/src/slice2cs/Gen.cpp b/cpp/src/slice2cs/Gen.cpp
index c012fc1fbae..1b04bd695c8 100644
--- a/cpp/src/slice2cs/Gen.cpp
+++ b/cpp/src/slice2cs/Gen.cpp
@@ -1807,7 +1807,7 @@ Slice::Gen::generateChecksums(const UnitPtr& u)
_out << sb;
_out << nl << "public sealed class " << className;
_out << sb;
- _out << nl << "public readonly static System.Collections.Hashtable map = new System.Collections.Hashtable();";
+ _out << nl << "public static System.Collections.Hashtable map = new System.Collections.Hashtable();";
_out << sp << nl << "static " << className << "()";
_out << sb;
for(ChecksumMap::const_iterator p = map.begin(); p != map.end(); ++p)