Author: kclark
Date: Tue Jun 17 18:03:17 2008
New Revision: 668934
URL: http://svn.apache.org/viewvc?rev=668934&view=rev
Log:
Fix the requires generated by the compiler
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=668934&r1=668933&r2=668934&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 Tue Jun
17 18:03:17 2008
@@ -243,7 +243,7 @@
*/
string t_rb_generator::rb_imports() {
return
- string("require 'thrift/protocol/tprotocol'");
+ string("require 'thrift/protocol'");
}
/**
@@ -595,7 +595,7 @@
}
f_service_ <<
- "require 'thrift/thrift'" << endl <<
+ "require 'thrift'" << endl <<
"require '" << program_name_ << "_types'" << endl <<
endl;