Put a newline at the end of the generated header file in the Cocoa generator.
authorDavid Reiss <dreiss@apache.org>
Thu, 27 Mar 2008 21:40:52 +0000 (21:40 +0000)
committerDavid Reiss <dreiss@apache.org>
Thu, 27 Mar 2008 21:40:52 +0000 (21:40 +0000)
git-svn-id: https://svn.apache.org/repos/asf/incubator/thrift/trunk@665602 13f79535-47bb-0310-9956-ffa450edef68

compiler/cpp/src/generate/t_cocoa_generator.cc

index 1356c35..2b325c4 100644 (file)
@@ -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;
 }
 
 /**