summaryrefslogtreecommitdiff
path: root/boost/gil/extension/io/raw/detail/device.hpp
diff options
context:
space:
mode:
Diffstat (limited to 'boost/gil/extension/io/raw/detail/device.hpp')
-rw-r--r--boost/gil/extension/io/raw/detail/device.hpp35
1 files changed, 13 insertions, 22 deletions
diff --git a/boost/gil/extension/io/raw/detail/device.hpp b/boost/gil/extension/io/raw/detail/device.hpp
index 7f93336d51..d9c122c073 100644
--- a/boost/gil/extension/io/raw/detail/device.hpp
+++ b/boost/gil/extension/io/raw/detail/device.hpp
@@ -1,30 +1,21 @@
-/*
- Copyright 2007-2012 Olivier Tournaire, Christian Henning
- Use, modification and distribution are subject to 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).
-*/
-
-/*************************************************************************************************/
-
+//
+// Copyright 2012 Olivier Tournaire
+// Copyright 2007 Christian Henning
+//
+// 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_GIL_EXTENSION_IO_RAW_DETAIL_DEVICE_HPP
#define BOOST_GIL_EXTENSION_IO_RAW_DETAIL_DEVICE_HPP
-////////////////////////////////////////////////////////////////////////////////////////
-/// \file
-/// \brief
-/// \author Olivier Tournaire \n
-///
-/// \date 2012 \n
-///
-////////////////////////////////////////////////////////////////////////////////////////
-
-#include <boost/utility/enable_if.hpp>
-
#include <boost/gil/io/base.hpp>
#include <boost/gil/io/device.hpp>
+#include <boost/utility/enable_if.hpp>
+
#include <memory>
+#include <string>
namespace boost { namespace gil { namespace detail {
@@ -107,7 +98,7 @@ public:
, read_tag = read_tag()
)
{
- io_error_if( _processor_ptr.get()->open_file( file_name.c_str() ) != LIBRAW_SUCCESS
+ io_error_if( _processor_ptr.get()->open_file( file_name.c_str() ) != LIBRAW_SUCCESS
, "file_stream_device: failed to open file"
);
}
@@ -119,7 +110,7 @@ public:
, read_tag = read_tag()
)
{
- io_error_if( _processor_ptr.get()->open_file( file_name ) != LIBRAW_SUCCESS
+ io_error_if( _processor_ptr.get()->open_file( file_name ) != LIBRAW_SUCCESS
, "file_stream_device: failed to open file"
);
}