From 410166af8f20a95456dacf1e5c43ca9aeca3cb63 Mon Sep 17 00:00:00 2001 From: Alex Buts Date: Thu, 10 Nov 2011 13:32:32 +0000 Subject: [PATCH] refs #3763 Attempt to fix unix build --- .../Framework/Kernel/inc/MantidKernel/ValidatorAnyList.h | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/Code/Mantid/Framework/Kernel/inc/MantidKernel/ValidatorAnyList.h b/Code/Mantid/Framework/Kernel/inc/MantidKernel/ValidatorAnyList.h index 007685f4dee8..71c216502579 100644 --- a/Code/Mantid/Framework/Kernel/inc/MantidKernel/ValidatorAnyList.h +++ b/Code/Mantid/Framework/Kernel/inc/MantidKernel/ValidatorAnyList.h @@ -64,8 +64,8 @@ class ValidatorAnyList : public IValidator std::set allowedValues() const { std::set rez; - std::set::const_iterator it; - for(it=m_allowedValues.begin();it!=m_allowedValues.end();it++){ + std::set::const_iterator it=m_allowedValues.begin(); + for(;it!=m_allowedValues.end();it++){ rez.insert(rez.end(),boost::lexical_cast(*it)); } return rez;