|
Boost-Commit : |
Subject: [Boost-commit] svn:boost r71184 - trunk/boost/serialization
From: ramey_at_[hidden]
Date: 2011-04-10 23:51:35
Author: ramey
Date: 2011-04-10 23:51:35 EDT (Sun, 10 Apr 2011)
New Revision: 71184
URL: http://svn.boost.org/trac/boost/changeset/71184
Log:
small fixes to address track items
Text files modified:
trunk/boost/serialization/strong_typedef.hpp | 4 ++--
1 files changed, 2 insertions(+), 2 deletions(-)
Modified: trunk/boost/serialization/strong_typedef.hpp
==============================================================================
--- trunk/boost/serialization/strong_typedef.hpp (original)
+++ trunk/boost/serialization/strong_typedef.hpp 2011-04-10 23:51:35 EDT (Sun, 10 Apr 2011)
@@ -34,7 +34,7 @@
{ \
T t; \
explicit D(const T t_) : t(t_) {}; \
- D(){}; \
+ D(): t() {}; \
D(const D & t_) : t(t_.t){} \
D & operator=(const D & rhs) { t = rhs.t; return *this;} \
D & operator=(const T & rhs) { t = rhs; return *this;} \
@@ -52,7 +52,7 @@
{ \
T t; \
explicit D(const T t_) : t(t_) {}; \
- D(){}; \
+ D() : t(){}; \
D(const D & t_) : t(t_.t){} \
D & operator=(const D & rhs) { t = rhs.t; return *this;} \
D & operator=(const T & rhs) { t = 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