mirror of
https://github.com/boostorg/intrusive.git
synced 2025-08-02 14:04:36 +02:00
Add missing includes.
This commit is contained in:
@@ -18,6 +18,8 @@
|
|||||||
#include <iostream>
|
#include <iostream>
|
||||||
#include "bounded_pointer.hpp"
|
#include "bounded_pointer.hpp"
|
||||||
#include "common_functors.hpp"
|
#include "common_functors.hpp"
|
||||||
|
#include "int_holder.hpp"
|
||||||
|
#include <boost/intrusive/link_mode.hpp>
|
||||||
|
|
||||||
|
|
||||||
namespace boost {
|
namespace boost {
|
||||||
|
@@ -12,6 +12,8 @@
|
|||||||
#ifndef BOOST_INTRUSIVE_DETAIL_INT_HOLDER_HPP
|
#ifndef BOOST_INTRUSIVE_DETAIL_INT_HOLDER_HPP
|
||||||
#define BOOST_INTRUSIVE_DETAIL_INT_HOLDER_HPP
|
#define BOOST_INTRUSIVE_DETAIL_INT_HOLDER_HPP
|
||||||
|
|
||||||
|
#include <boost/functional/hash/hash.hpp>
|
||||||
|
|
||||||
namespace boost{
|
namespace boost{
|
||||||
namespace intrusive{
|
namespace intrusive{
|
||||||
|
|
||||||
@@ -96,7 +98,7 @@ struct int_holder_key_of_value
|
|||||||
{
|
{
|
||||||
typedef int_holder type;
|
typedef int_holder type;
|
||||||
|
|
||||||
type operator()(const ValueType &tv)
|
type operator()(const ValueType &tv) const
|
||||||
{ return tv.get_int_holder(); }
|
{ return tv.get_int_holder(); }
|
||||||
};
|
};
|
||||||
|
|
||||||
|
Reference in New Issue
Block a user