Boost logo

Boost-Commit :

Subject: [Boost-commit] svn:boost r57606 - trunk/boost/iostreams/device
From: daniel_james_at_[hidden]
Date: 2009-11-12 14:18:59


Author: danieljames
Date: 2009-11-12 14:18:58 EST (Thu, 12 Nov 2009)
New Revision: 57606
URL: http://svn.boost.org/trac/boost/changeset/57606

Log:
Add missing include guard. Refs #3010.

Thanks to Bjørn Roald and Richard Smith.
Text files modified:
   trunk/boost/iostreams/device/mapped_file.hpp | 5 +++++
   1 files changed, 5 insertions(+), 0 deletions(-)

Modified: trunk/boost/iostreams/device/mapped_file.hpp
==============================================================================
--- trunk/boost/iostreams/device/mapped_file.hpp (original)
+++ trunk/boost/iostreams/device/mapped_file.hpp 2009-11-12 14:18:58 EST (Thu, 12 Nov 2009)
@@ -4,6 +4,9 @@
 // Distributed under the Boost Software License, Version 1.0. (See accompanying
 // file LICENSE_1_0.txt or copy at http://www.boost.org/LICENSE_1_0.txt.)
 
+#ifndef BOOST_IOSTREAMS_MAPPED_FILE_HPP_INCLUDED
+#define BOOST_IOSTREAMS_MAPPED_FILE_HPP_INCLUDED
+
 #if defined(_MSC_VER) && (_MSC_VER >= 1020)
 # pragma once
 #endif
@@ -592,3 +595,5 @@
 } } // End namespaces iostreams, boost.
 
 #include <boost/config/abi_suffix.hpp> // pops abi_suffix.hpp pragmas
+
+#endif // #ifndef BOOST_IOSTREAMS_MAPPED_FILE_HPP_INCLUDED


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