Boost logo

Boost-Commit :

Subject: [Boost-commit] svn:boost r80519 - trunk/boost/interprocess
From: igaztanaga_at_[hidden]
Date: 2012-09-13 17:22:05


Author: igaztanaga
Date: 2012-09-13 17:22:05 EDT (Thu, 13 Sep 2012)
New Revision: 80519
URL: http://svn.boost.org/trac/boost/changeset/80519

Log:
Added explicit constructor
Text files modified:
   trunk/boost/interprocess/segment_manager.hpp | 2 +-
   1 files changed, 1 insertions(+), 1 deletions(-)

Modified: trunk/boost/interprocess/segment_manager.hpp
==============================================================================
--- trunk/boost/interprocess/segment_manager.hpp (original)
+++ trunk/boost/interprocess/segment_manager.hpp 2012-09-13 17:22:05 EDT (Thu, 13 Sep 2012)
@@ -407,7 +407,7 @@
    //!"size" is the size of the memory segment where
    //!the segment manager is being constructed.
    //!Can throw
- segment_manager(size_type size)
+ explicit segment_manager(size_type size)
       : Base(size, priv_get_reserved_bytes())
       , m_header(static_cast<Base*>(get_this_pointer()))
    {


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