From c82bbe9150742ca020291b3e3407472b3527024b Mon Sep 17 00:00:00 2001 From: Boris Kolpackov Date: Sat, 24 Nov 2018 16:17:52 +0200 Subject: Use \n instead of endl in in rule --- build2/in/rule.cxx | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'build2') diff --git a/build2/in/rule.cxx b/build2/in/rule.cxx index 7b3904c..1395958 100644 --- a/build2/in/rule.cxx +++ b/build2/in/rule.cxx @@ -379,7 +379,7 @@ namespace build2 what = "write"; whom = &tp; if (ln != 1) - ofs << endl; // See below. + ofs << '\n'; // See below. ofs << s; } @@ -389,7 +389,7 @@ namespace build2 dd.close (); what = "close"; whom = &tp; - ofs << endl; // Last write to make sure our mtime is older than dd. + ofs << '\n'; // Last write to make sure our mtime is older than dd. ofs.close (); arm.cancel (); -- cgit v1.1