Code Review
/
common
/
thrift.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
review
|
tree
raw
|
patch
| inline |
side by side
(parent:
5d2e7a9
)
Fix the requires generated by the compiler
author
Kevin Clark
<kclark@apache.org>
Wed, 18 Jun 2008 01:03:17 +0000
(
01:03
+0000)
committer
Kevin Clark
<kclark@apache.org>
Wed, 18 Jun 2008 01:03:17 +0000
(
01:03
+0000)
git-svn-id: https://svn.apache.org/repos/asf/incubator/thrift/trunk@668934
13f79535
-47bb-0310-9956-
ffa450edef68
compiler/cpp/src/generate/t_rb_generator.cc
patch
|
blob
|
history
diff --git
a/compiler/cpp/src/generate/t_rb_generator.cc
b/compiler/cpp/src/generate/t_rb_generator.cc
index
81e7d66
..
de55c39
100644
(file)
--- 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_autogen_comment() {
*/
string t_rb_generator::rb_imports() {
return
- string("require 'thrift/protocol
/tprotocol
'");
+ string("require 'thrift/protocol'");
}
/**
@@
-595,7
+595,7
@@
void t_rb_generator::generate_service(t_service* tservice) {
}
f_service_ <<
- "require 'thrift
/thrift
'" << endl <<
+ "require 'thrift'" << endl <<
"require '" << program_name_ << "_types'" << endl <<
endl;