commit | 18e21565b3cac739de32ff9af56f09797b20e146 | [log] [tgz] |
---|---|---|
author | Kevin Clark <kclark@apache.org> | Wed Jun 18 01:03:17 2008 +0000 |
committer | Kevin Clark <kclark@apache.org> | Wed Jun 18 01:03:17 2008 +0000 |
tree | acb391d692e80bc1a776981566b4d0196b7dafa6 | |
parent | 5d2e7a9bc6952e00f97cdd8e1c840c579211ebd7 [diff] |
Fix the requires generated by the compiler git-svn-id: https://svn.apache.org/repos/asf/incubator/thrift/trunk@668934 13f79535-47bb-0310-9956-ffa450edef68
diff --git a/compiler/cpp/src/generate/t_rb_generator.cc b/compiler/cpp/src/generate/t_rb_generator.cc index 81e7d66..de55c39 100644 --- a/compiler/cpp/src/generate/t_rb_generator.cc +++ b/compiler/cpp/src/generate/t_rb_generator.cc
@@ -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;