mirror of
https://github.com/boostorg/odeint.git
synced 2025-05-11 13:34:09 +00:00
Merge pull request #29 from pavelkryukov/develop
Remove deprecated std::unary_function from molecular_dynamics_cells.cpp
This commit is contained in:
commit
d94c80da6a
@ -141,8 +141,10 @@ public:
|
||||
|
||||
|
||||
|
||||
struct transform_functor : public std::unary_function< size_t , size_t >
|
||||
struct transform_functor
|
||||
{
|
||||
typedef size_t argument_type;
|
||||
typedef size_t result_type;
|
||||
hash_vector const* m_index;
|
||||
transform_functor( hash_vector const& index ) : m_index( &index ) { }
|
||||
size_t operator()( size_t i ) const { return (*m_index)[i]; }
|
||||
|
Loading…
x
Reference in New Issue
Block a user