Generate .cpp files instead of .cc in Thrift

Reviewed By: aditya

Notes: Be consistent on cpp, dunno why ever chose cc


git-svn-id: https://svn.apache.org/repos/asf/incubator/thrift/trunk@664829 13f79535-47bb-0310-9956-ffa450edef68
diff --git a/compiler/cpp/src/generate/t_cpp_generator.cc b/compiler/cpp/src/generate/t_cpp_generator.cc
index 46f71c1..28c9913 100644
--- a/compiler/cpp/src/generate/t_cpp_generator.cc
+++ b/compiler/cpp/src/generate/t_cpp_generator.cc
@@ -18,7 +18,7 @@
   string f_types_name = string(T_CPP_DIR)+"/"+program_name_+"_types.h";
   f_types_.open(f_types_name.c_str());
 
-  string f_types_impl_name = string(T_CPP_DIR)+"/"+program_name_+"_types.cc";
+  string f_types_impl_name = string(T_CPP_DIR)+"/"+program_name_+"_types.cpp";
   f_types_impl_.open(f_types_impl_name.c_str());
 
   // Print header
@@ -457,7 +457,7 @@
     endl;
 
   // Service implementation file includes
-  string f_service_name = string(T_CPP_DIR)+"/"+svcname+".cc";
+  string f_service_name = string(T_CPP_DIR)+"/"+svcname+".cpp";
   f_service_.open(f_service_name.c_str());
   f_service_ <<
     autogen_comment();