diff options
Diffstat (limited to 'qpid/cpp/rubygen/templates/constants.rb')
| -rwxr-xr-x | qpid/cpp/rubygen/templates/constants.rb | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/qpid/cpp/rubygen/templates/constants.rb b/qpid/cpp/rubygen/templates/constants.rb index 7e212bd38a..45efb35353 100755 --- a/qpid/cpp/rubygen/templates/constants.rb +++ b/qpid/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} };" } } } |
