aboutsummaryrefslogtreecommitdiff
path: root/build2/diagnostics
diff options
context:
space:
mode:
authorBoris Kolpackov <boris@codesynthesis.com>2016-11-03 17:51:40 +0200
committerBoris Kolpackov <boris@codesynthesis.com>2016-11-04 09:26:37 +0200
commit96f85239a37b45c6a61a61adbcd7ed51673cee3f (patch)
treed8a44777c19ff3f4a1bca01343a0e636ddad2f04 /build2/diagnostics
parent33e2f00fb710b2f63e9daa690c4eaad1e6eb3bad (diff)
Adjust diag_record::os_ member name to os
Diffstat (limited to 'build2/diagnostics')
-rw-r--r--build2/diagnostics12
1 files changed, 6 insertions, 6 deletions
diff --git a/build2/diagnostics b/build2/diagnostics
index 091b313..6b89903 100644
--- a/build2/diagnostics
+++ b/build2/diagnostics
@@ -124,7 +124,7 @@ namespace build2
friend const diag_record&
operator<< (const diag_record& r, const T& x)
{
- r.os_ << x;
+ r.os << x;
return r;
}
@@ -154,7 +154,7 @@ namespace build2
if (empty_)
empty_ = false;
else
- os_ << "\n ";
+ os << "\n ";
}
// Move constructible-only type.
@@ -166,7 +166,7 @@ namespace build2
//
diag_record (diag_record&& r)
#ifndef __GLIBCXX__
- : os_ (move (r.os_))
+ : os (move (r.os))
#endif
{
empty_ = r.empty_;
@@ -175,8 +175,8 @@ namespace build2
if (!empty_)
{
#ifdef __GLIBCXX__
- stream_verb (os_, stream_verb (r.os_));
- os_ << r.os_.str ();
+ stream_verb (os, stream_verb (r.os));
+ os << r.os.str ();
#endif
r.empty_ = true;
r.epilogue_ = nullptr;
@@ -189,7 +189,7 @@ namespace build2
diag_record& operator= (const diag_record&) = delete;
public:
- mutable std::ostringstream os_;
+ mutable std::ostringstream os;
private:
mutable bool empty_;