diff options
Diffstat (limited to 'cpp/rubygen/templates/constants.rb')
-rwxr-xr-x | cpp/rubygen/templates/constants.rb | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/cpp/rubygen/templates/constants.rb b/cpp/rubygen/templates/constants.rb index 7e212bd38a..45efb35353 100755 --- a/cpp/rubygen/templates/constants.rb +++ b/cpp/rubygen/templates/constants.rb @@ -14,7 +14,7 @@ class ConstantsGen < CppGen h_file("#{@dir}/constants") { namespace(@namespace) { @amqp.constants.each { |c| - genl "inline const int #{c.name.shout} = #{c.value};" + genl "enum { #{c.name.shout} = #{c.value} };" } } } |