summaryrefslogtreecommitdiff
path: root/boost/multi_index/detail/index_loader.hpp
diff options
context:
space:
mode:
Diffstat (limited to 'boost/multi_index/detail/index_loader.hpp')
-rw-r--r--boost/multi_index/detail/index_loader.hpp5
1 files changed, 3 insertions, 2 deletions
diff --git a/boost/multi_index/detail/index_loader.hpp b/boost/multi_index/detail/index_loader.hpp
index 3f0428c595..71418a10e1 100644
--- a/boost/multi_index/detail/index_loader.hpp
+++ b/boost/multi_index/detail/index_loader.hpp
@@ -1,4 +1,4 @@
-/* Copyright 2003-2013 Joaquin M Lopez Munoz.
+/* Copyright 2003-2015 Joaquin M Lopez Munoz.
* 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)
@@ -18,6 +18,7 @@
#include <boost/archive/archive_exception.hpp>
#include <boost/noncopyable.hpp>
#include <boost/multi_index/detail/auto_space.hpp>
+#include <boost/multi_index/detail/raw_ptr.hpp>
#include <boost/serialization/nvp.hpp>
#include <boost/throw_exception.hpp>
#include <cstddef>
@@ -91,7 +92,7 @@ public:
}
private:
- Node** entries()const{return &*spc.data();}
+ Node** entries()const{return raw_ptr<Node**>(spc.data());}
/* We try to delay sorting as much as possible just in case it
* is not necessary, hence this version of load_node.