From cf3f8350c022752b6401708edb794c1a5620d9a2 Mon Sep 17 00:00:00 2001 From: Andrzej Rybczak Date: Wed, 16 Sep 2009 21:06:37 +0000 Subject: [PATCH] remove NCurses::Scrollpad::operator<<(std::ostream &(*os)(std::ostream&)) it wasn't used, also if it was, probably it wouldn't work in this case, so bye bye. --- src/scrollpad.cpp | 6 ------ src/scrollpad.h | 2 -- 2 files changed, 8 deletions(-) diff --git a/src/scrollpad.cpp b/src/scrollpad.cpp index bea59212..617aaa56 100644 --- a/src/scrollpad.cpp +++ b/src/scrollpad.cpp @@ -201,12 +201,6 @@ void Scrollpad::Clear(bool clear_screen) Refresh(); } -Scrollpad &Scrollpad::operator<<(std::ostream &(*os)(std::ostream&)) -{ - itsBuffer << os; - return *this; -} - #ifdef _UTF8 Scrollpad &Scrollpad::operator<<(const std::string &s) { diff --git a/src/scrollpad.h b/src/scrollpad.h index eb588d20..bb6cbd33 100644 --- a/src/scrollpad.h +++ b/src/scrollpad.h @@ -116,8 +116,6 @@ namespace NCurses return *this; } - Scrollpad &operator<<(std::ostream &(*os)(std::ostream &)); - # ifdef _UTF8 bool SetFormatting(short vb, const std::string &s, short ve, bool for_each = 1) { return SetFormatting(vb, ToWString(s), ve, for_each); } Scrollpad &operator<<(const std::string &s);