summaryrefslogtreecommitdiff
path: root/boost/gil/io/make_backend.hpp
diff options
context:
space:
mode:
Diffstat (limited to 'boost/gil/io/make_backend.hpp')
-rw-r--r--boost/gil/io/make_backend.hpp30
1 files changed, 10 insertions, 20 deletions
diff --git a/boost/gil/io/make_backend.hpp b/boost/gil/io/make_backend.hpp
index c18775c2e6..e0a4a1f5dd 100644
--- a/boost/gil/io/make_backend.hpp
+++ b/boost/gil/io/make_backend.hpp
@@ -1,28 +1,18 @@
-/*
- Copyright 2012 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 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_IO_MAKE_BACKEND_HPP
#define BOOST_GIL_IO_MAKE_BACKEND_HPP
-////////////////////////////////////////////////////////////////////////////////////////
-/// \file
-/// \brief
-/// \author Christian Henning \n
-///
-/// \date 2012 \n
-///
-////////////////////////////////////////////////////////////////////////////////////////
+#include <boost/gil/io/get_reader.hpp>
#include <boost/utility/enable_if.hpp>
-#include "get_reader.hpp"
-
namespace boost { namespace gil {
template< typename String
@@ -63,7 +53,7 @@ make_reader_backend( const std::wstring& file_name
typedef typename get_read_device< std::wstring
, FormatTag
>::type device_t;
-
+
const char* str = detail::convert_to_native_string( file_name );
device_t device( str