summaryrefslogtreecommitdiff
path: root/qpid/cpp/rubygen/0-10/exceptions.rb
diff options
context:
space:
mode:
Diffstat (limited to 'qpid/cpp/rubygen/0-10/exceptions.rb')
-rwxr-xr-xqpid/cpp/rubygen/0-10/exceptions.rb2
1 files changed, 1 insertions, 1 deletions
diff --git a/qpid/cpp/rubygen/0-10/exceptions.rb b/qpid/cpp/rubygen/0-10/exceptions.rb
index 02e3a5d547..fed8fdac5b 100755
--- a/qpid/cpp/rubygen/0-10/exceptions.rb
+++ b/qpid/cpp/rubygen/0-10/exceptions.rb
@@ -32,7 +32,7 @@ class GenExceptions < CppGen
enum.choices.each { |c|
name=c.name.typename+suffix+"Exception"
genl
- doxygen_comment { genl c.doc }
+ doxygen_comment { genl c.doc } if c.doc
struct(name, "public #{base}") {
genl "#{name}(const std::string& msg=std::string())"
genl " : #{base}(#{ns}::#{c.name.shout}, msg) {}"