Author: kclark
Date: Tue Apr 7 22:47:34 2009
New Revision: 763022
URL: http://svn.apache.org/viewvc?rev=763022&view=rev
Log:
THRIFT-431. rb: Capitalize namespace values
Author: Michael Stockton
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=763022&r1=763021&r2=763022&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 Apr
7 22:47:34 2009
@@ -171,7 +171,7 @@
std::vector<std::string> modules;
for(boost::tokenizer<>::iterator beg=tok.begin(); beg != tok.end(); ++beg)
{
- modules.push_back(*beg);
+ modules.push_back(capitalize(*beg));
}
return modules;