//-----------------------------------------------------------------------------
#include "AliMpExMapIterator.h"
+#include "AliMpExMap.h"
#include "AliLog.h"
-#include "AliMpExMap.h"
-#include "AliMpIntPair.h"
+
#include <TClass.h>
#include <TExMap.h>
#include <TString.h>
//_____________________________________________________________________________
TObject*
-AliMpExMapIterator::Next(AliMpIntPair& key)
+AliMpExMapIterator::Next(Int_t& keyFirst, Int_t& keySecond)
{
/// Return the next object in iteration and fill the key.
/// The returned object must not be deleted by the user.
Long_t index;
TObject* o(0x0);
Next(index,o);
- key = AliMpExMap::GetPair(index);
+ keyFirst = AliMpExMap::GetPairFirst(index);
+ keySecond = AliMpExMap::GetPairSecond(index);
return o;
}