summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
Diffstat (limited to '')
-rw-r--r--src/bin/eolian_mono/eolian/mono/variable_definition.hh6
1 files changed, 3 insertions, 3 deletions
diff --git a/src/bin/eolian_mono/eolian/mono/variable_definition.hh b/src/bin/eolian_mono/eolian/mono/variable_definition.hh
index e63db2047d..fe9f6738e6 100644
--- a/src/bin/eolian_mono/eolian/mono/variable_definition.hh
+++ b/src/bin/eolian_mono/eolian/mono/variable_definition.hh
@@ -45,11 +45,11 @@ struct constant_definition_generator
45 template<typename OutputIterator, typename Context> 45 template<typename OutputIterator, typename Context>
46 bool generate(OutputIterator sink, attributes::constant_def constant, Context const& context) const 46 bool generate(OutputIterator sink, attributes::constant_def constant, Context const& context) const
47 { 47 {
48 // Open partial class 48 // Open static partial class
49 if (!name_helpers::open_namespaces(sink, constant.namespaces, context)) 49 if (!name_helpers::open_namespaces(sink, constant.namespaces, context))
50 return false; 50 return false;
51 51
52 if (!as_generator("public partial class Constants\n{\n").generate(sink, attributes::unused, context)) 52 if (!as_generator("public static partial class Constants\n{\n").generate(sink, attributes::unused, context))
53 return false; 53 return false;
54 54
55 std::string literal; 55 std::string literal;
@@ -83,7 +83,7 @@ struct constant_definition_generator
83 83
84 // FIXME missing documentation generator 84 // FIXME missing documentation generator
85 85
86 // Close partial class 86 // Close static partial class
87 if (!as_generator("}\n").generate(sink, attributes::unused, context)) 87 if (!as_generator("}\n").generate(sink, attributes::unused, context))
88 return false; 88 return false;
89 89