thrift-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From bryanduxb...@apache.org
Subject svn commit: r764540 - /incubator/thrift/trunk/compiler/cpp/src/generate/t_rb_generator.cc
Date Mon, 13 Apr 2009 17:48:24 GMT
Author: bryanduxbury
Date: Mon Apr 13 17:48:23 2009
New Revision: 764540

URL: http://svn.apache.org/viewvc?rev=764540&view=rev
Log:
THRIFT-445. rb: client and processor do not inherit from the proper namespace scope

This patch adds namespace support to a client and processor extended from an included thrift
def with its own namespace. 


Modified:
    incubator/thrift/trunk/compiler/cpp/src/generate/t_rb_generator.cc

Modified: incubator/thrift/trunk/compiler/cpp/src/generate/t_rb_generator.cc
URL: http://svn.apache.org/viewvc/incubator/thrift/trunk/compiler/cpp/src/generate/t_rb_generator.cc?rev=764540&r1=764539&r2=764540&view=diff
==============================================================================
--- incubator/thrift/trunk/compiler/cpp/src/generate/t_rb_generator.cc (original)
+++ incubator/thrift/trunk/compiler/cpp/src/generate/t_rb_generator.cc Mon Apr 13 17:48:23
2009
@@ -707,7 +707,7 @@
   string extends = "";
   string extends_client = "";
   if (tservice->get_extends() != NULL) {
-    extends = type_name(tservice->get_extends());
+    extends = full_type_name(tservice->get_extends());
     extends_client = " < " + extends + "::Client ";
   }
 
@@ -839,7 +839,7 @@
   string extends = "";
   string extends_processor = "";
   if (tservice->get_extends() != NULL) {
-    extends = type_name(tservice->get_extends());
+    extends = full_type_name(tservice->get_extends());
     extends_processor = " < " + extends + "::Processor ";
   }
 



Mime
View raw message