summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rwxr-xr-xcpp/rubygen/cppgen.rb4
-rw-r--r--cpp/rubygen/templates/structs.rb3
2 files changed, 2 insertions, 5 deletions
diff --git a/cpp/rubygen/cppgen.rb b/cpp/rubygen/cppgen.rb
index 0063231e84..c6f06e80c7 100755
--- a/cpp/rubygen/cppgen.rb
+++ b/cpp/rubygen/cppgen.rb
@@ -119,9 +119,7 @@ class AmqpDomain
"content"=>CppType.new("Content").passcref.retcref.code("Content"),
"rfc1982-long-set"=>CppType.new("SequenceNumberSet").passcref.retcref,
"long-struct"=>CppType.new("string").passcref.retcref.code("LongString"),
- # FIXME aconway 2007-08-25: Use Uuid class.
- # "uuid"=>CppType.new("Uuid").passcref.retcref.code,
- "uuid"=>CppType.new("string").passcref.retcref.code("ShortString")
+ "uuid"=>CppType.new("Uuid").passcref.retcref
}
def cppname() name.caps; end
diff --git a/cpp/rubygen/templates/structs.rb b/cpp/rubygen/templates/structs.rb
index 2543c43717..fd949eb53d 100644
--- a/cpp/rubygen/templates/structs.rb
+++ b/cpp/rubygen/templates/structs.rb
@@ -20,8 +20,7 @@ class StructGen < CppGen
"timestamp"=>"LongLong",
"table"=>"FieldTable",
"content"=>"Content",
- "long-struct"=>"LongString",
- "uuid" => "ShortString" # FIXME aconway 2007-08-27: Remove.
+ "long-struct"=>"LongString"
}
SizeMap={
"octet"=>"1",