From c56e7827d6657f351dd2639b0224afa96f3a68d4 Mon Sep 17 00:00:00 2001 From: Abseil Team Date: Tue, 31 Oct 2017 13:08:08 -0700 Subject: Changes imported from Abseil "staging" branch: - e4999febdfea4d392284bfbc9dce9520b26d98cb Remove an erronous __attribute__((...)) tag. by Abseil Team - 61db01b3eaad3563aa2f97d41799ef1339d57c04 Remove the default parameter value from overridden overfl... by Abseil Team - e7dc1ee6bb523b2173915e1978f7e3831f5484f6 Fix the include guards for exception_safety_testing.h by Jon Cohen GitOrigin-RevId: e4999febdfea4d392284bfbc9dce9520b26d98cb Change-Id: I7837e125138a1e623d9b6394c0ea5f624b904ea2 --- absl/strings/internal/ostringstream.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'absl/strings/internal') diff --git a/absl/strings/internal/ostringstream.h b/absl/strings/internal/ostringstream.h index 017632a9..01314659 100644 --- a/absl/strings/internal/ostringstream.h +++ b/absl/strings/internal/ostringstream.h @@ -75,7 +75,7 @@ class OStringStream : private std::basic_streambuf, public std::ostream { private: using Buf = std::basic_streambuf; - Buf::int_type overflow(int c = Buf::traits_type::eof()) override { + Buf::int_type overflow(int c) override { assert(s_); if (!Buf::traits_type::eq_int_type(c, Buf::traits_type::eof())) s_->push_back(static_cast(c)); -- cgit v1.2.3