|
Boost-Commit : |
From: technews_at_[hidden]
Date: 2008-05-26 14:43:35
Author: turkanis
Date: 2008-05-26 14:43:34 EDT (Mon, 26 May 2008)
New Revision: 45781
URL: http://svn.boost.org/trac/boost/changeset/45781
Log:
fixes (I hope) the first warning in #1875
Text files modified:
trunk/boost/iostreams/chain.hpp | 2 +-
1 files changed, 1 insertions(+), 1 deletions(-)
Modified: trunk/boost/iostreams/chain.hpp
==============================================================================
--- trunk/boost/iostreams/chain.hpp (original)
+++ trunk/boost/iostreams/chain.hpp 2008-05-26 14:43:34 EDT (Mon, 26 May 2008)
@@ -408,7 +408,7 @@
typedef typename traits_type::int_type int_type; \
typedef typename traits_type::off_type off_type; \
name_() { } \
- name_(const name_& rhs) { *this = rhs; } \
+ name_(const name_& rhs) : base_type(rhs) { } \
name_& operator=(const name_& rhs) \
{ base_type::operator=(rhs); return *this; } \
}; \
Boost-Commit list run by bdawes at acm.org, david.abrahams at rcn.com, gregod at cs.rpi.edu, cpdaniel at pacbell.net, john at johnmaddock.co.uk