Add missing includes.

This commit is contained in:
Ion Gaztañaga
2016-09-03 00:01:02 +02:00
parent 36fb49abc9
commit d5b81dc59a
2 changed files with 5 additions and 1 deletions

View File

@@ -18,6 +18,8 @@
#include <iostream>
#include "bounded_pointer.hpp"
#include "common_functors.hpp"
#include "int_holder.hpp"
#include <boost/intrusive/link_mode.hpp>
namespace boost {

View File

@@ -12,6 +12,8 @@
#ifndef BOOST_INTRUSIVE_DETAIL_INT_HOLDER_HPP
#define BOOST_INTRUSIVE_DETAIL_INT_HOLDER_HPP
#include <boost/functional/hash/hash.hpp>
namespace boost{
namespace intrusive{
@@ -96,7 +98,7 @@ struct int_holder_key_of_value
{
typedef int_holder type;
type operator()(const ValueType &tv)
type operator()(const ValueType &tv) const
{ return tv.get_int_holder(); }
};