Merge pull request #6066 from sloriot/Interpolation-warning

Remove c++17 deprecation warning
This commit is contained in:
Laurent Rineau 2021-10-29 16:46:36 +02:00
commit 647f19f38e
1 changed files with 6 additions and 1 deletions

View File

@ -50,8 +50,13 @@ struct Value_function
template <typename V, typename G>
struct Gradient_function
: public std::iterator<std::output_iterator_tag, void, void, void, void>
{
typedef void value_type;
typedef void Distance;
typedef void Pointer;
typedef void Reference;
typedef std::output_iterator_tag category;
typedef V argument_type;
typedef std::pair<G, bool> result_type;