aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorbkoz <bkoz@138bc75d-0d04-0410-961f-82ee72b054a4>2004-06-25 07:08:15 +0000
committerbkoz <bkoz@138bc75d-0d04-0410-961f-82ee72b054a4>2004-06-25 07:08:15 +0000
commitadd7169c7b236699b99d77c946ef4385df83a885 (patch)
tree97756d6614c6de001ea4b3c56d18faad06ec1143
parent1a0744cb8efd645ee9fe654dc6990921aa53f80b (diff)
2004-06-25 Benjamin Kosnik <bkoz@redhat.com>
* include/debug/formatter.h (__gnu_debug::_Error_formatter): Remove copy constructor and assignment operator. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/branches/gcc-3_4-branch@83642 138bc75d-0d04-0410-961f-82ee72b054a4
-rw-r--r--libstdc++-v3/ChangeLog5
-rw-r--r--libstdc++-v3/include/debug/formatter.h24
2 files changed, 5 insertions, 24 deletions
diff --git a/libstdc++-v3/ChangeLog b/libstdc++-v3/ChangeLog
index fbb097c45cf..fbfa5ecb163 100644
--- a/libstdc++-v3/ChangeLog
+++ b/libstdc++-v3/ChangeLog
@@ -1,3 +1,8 @@
+2004-06-25 Benjamin Kosnik <bkoz@redhat.com>
+
+ * include/debug/formatter.h (__gnu_debug::_Error_formatter):
+ Remove copy constructor and assignment operator.
+
2004-06-23 Paolo Carlini <pcarlini@suse.de>
PR libstdc++/16154
diff --git a/libstdc++-v3/include/debug/formatter.h b/libstdc++-v3/include/debug/formatter.h
index 9b5fb1bbab9..db555b0030d 100644
--- a/libstdc++-v3/include/debug/formatter.h
+++ b/libstdc++-v3/include/debug/formatter.h
@@ -358,30 +358,6 @@ namespace __gnu_debug
_M_max_length(78), _M_column(1), _M_first_line(true), _M_wordwrap(false)
{ }
- _Error_formatter(const _Error_formatter& __o)
- : _M_file(__o._M_file), _M_line(__o._M_line),
- _M_num_parameters(__o._M_num_parameters), _M_text(__o._M_text),
- _M_max_length(__o._M_max_length), _M_column(__o._M_column),
- _M_first_line(__o._M_first_line), _M_wordwrap(__o._M_wordwrap)
- { }
-
- _Error_formatter&
- operator=(const _Error_formatter& __o)
- {
- if (&__o != this)
- {
- _M_file = __o._M_file;
- _M_line = __o._M_line;
- _M_num_parameters = __o._M_num_parameters;
- _M_text = __o._M_text;
- _M_max_length = __o._M_max_length;
- _M_column = __o._M_column;
- _M_first_line = __o._M_first_line;
- _M_wordwrap = __o._M_wordwrap;
- }
- return *this;
- }
-
template<typename _Tp>
void
_M_format_word(char*, int, const char*, _Tp) const;