From: David Reiss Date: Thu, 27 Mar 2008 21:40:52 +0000 (+0000) Subject: Put a newline at the end of the generated header file in the Cocoa generator. X-Git-Tag: 0.2.0~870 X-Git-Url: https://source.supwisdom.com/gerrit/gitweb?a=commitdiff_plain;h=be9757568f50ed79f2d9abf2a1acf97c9582eb5d;p=common%2Fthrift.git Put a newline at the end of the generated header file in the Cocoa generator. git-svn-id: https://svn.apache.org/repos/asf/incubator/thrift/trunk@665602 13f79535-47bb-0310-9956-ffa450edef68 --- diff --git a/compiler/cpp/src/generate/t_cocoa_generator.cc b/compiler/cpp/src/generate/t_cocoa_generator.cc index 1356c355..2b325c4e 100644 --- a/compiler/cpp/src/generate/t_cocoa_generator.cc +++ b/compiler/cpp/src/generate/t_cocoa_generator.cc @@ -91,7 +91,7 @@ void t_cocoa_generator::close_generator() { // stick our constants declarations at the end of the header file // since they refer to things we are defining. - f_header_ << constants_declarations_; + f_header_ << constants_declarations_ << endl; } /**