Boost logo

Boost-Commit :

Subject: [Boost-commit] svn:boost r65341 - sandbox/gil/boost/gil/extension/io2/detail
From: dsaritz_at_[hidden]
Date: 2010-09-07 15:05:24


Author: psiha
Date: 2010-09-07 15:05:18 EDT (Tue, 07 Sep 2010)
New Revision: 65341
URL: http://svn.boost.org/trac/boost/changeset/65341

Log:
Made the c_file_guard RAII class noncopyable.
Text files modified:
   sandbox/gil/boost/gil/extension/io2/detail/libx_shared.hpp | 4 +++-
   1 files changed, 3 insertions(+), 1 deletions(-)

Modified: sandbox/gil/boost/gil/extension/io2/detail/libx_shared.hpp
==============================================================================
--- sandbox/gil/boost/gil/extension/io2/detail/libx_shared.hpp (original)
+++ sandbox/gil/boost/gil/extension/io2/detail/libx_shared.hpp 2010-09-07 15:05:18 EDT (Tue, 07 Sep 2010)
@@ -22,6 +22,8 @@
 #include "../../../utilities.hpp"
 #include "io_error.hpp"
 
+#include "boost/noncopyable.hpp"
+
 #include "crtdefs.h"
 #include <cstdio>
 //------------------------------------------------------------------------------
@@ -76,7 +78,7 @@
 ///
 ////////////////////////////////////////////////////////////////////////////////
 
-class c_file_guard
+class c_file_guard : noncopyable
 {
 public:
     c_file_guard( char const * const file_name )


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