diff --git a/Framework/Geometry/inc/MantidGeometry/Crystal/HKLGenerator.h b/Framework/Geometry/inc/MantidGeometry/Crystal/HKLGenerator.h index f004bb8fccadfdf12b14daa5fc935d97b93926b1..e95bcdadc77a64621bc4906b6e030a09ac9cffd4 100644 --- a/Framework/Geometry/inc/MantidGeometry/Crystal/HKLGenerator.h +++ b/Framework/Geometry/inc/MantidGeometry/Crystal/HKLGenerator.h @@ -136,6 +136,11 @@ public: /// Returns a const reference to the currently pointed at HKL. inline const Kernel::V3D &dereference() const { return m_hkl; } + /// Required for compilation in VS. Forward iterator can not be used + /// that way, so the implementation does nothing. + inline void advance(difference_type) {} + inline void decrement() {} + int m_h, m_k, m_l; Kernel::V3D m_hkl;