From f4e7df2727c16922dbcc0783a49c64f947f39df3 Mon Sep 17 00:00:00 2001 From: scott snyder <scott.snyder@cern.ch> Date: Mon, 18 Mar 2019 14:54:22 +0100 Subject: [PATCH] AthLinks: Fix gcc9 compilation in AssocationComps. Have AssociationVectorIterator derive from std::iterator, so that its traits are properly available. Needed to use this type with two-iterator ctors of STL containers. --- Control/AthLinks/AthLinks/tools/AssociationVectorIterator.h | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/Control/AthLinks/AthLinks/tools/AssociationVectorIterator.h b/Control/AthLinks/AthLinks/tools/AssociationVectorIterator.h index 9cdbeeba9af..04dffafdcb8 100644 --- a/Control/AthLinks/AthLinks/tools/AssociationVectorIterator.h +++ b/Control/AthLinks/AthLinks/tools/AssociationVectorIterator.h @@ -11,10 +11,10 @@ * not be included directly into client code. */ - class AssociationVectorIterator + class AssociationVectorIterator + : public std::iterator<std::bidirectional_iterator_tag, asso_type*> { public: - /*! \brief alternate constructor * * The alternate constructor is the only meaningful constructor. It requires -- GitLab