From 1ca759d9ddbf7a9de3808d05b756374a21d9bb27 Mon Sep 17 00:00:00 2001 From: Dan Goodliffe Date: Mon, 1 Dec 2014 17:21:50 +0000 Subject: Always move to the next field, even if the current field doesn't have a model --- project2/ice/iceRows.cpp | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/project2/ice/iceRows.cpp b/project2/ice/iceRows.cpp index 1f391be..e9c0e9e 100644 --- a/project2/ice/iceRows.cpp +++ b/project2/ice/iceRows.cpp @@ -50,8 +50,9 @@ class IceRowState : public RowState { void AssignFieldValue(FieldValues::iterator & field, ModelPartPtr domp) { if (domp) { - domp->GetValue(new Assign(*field++)); + domp->GetValue(new Assign(*field)); } + field++; } Columns columns; -- cgit v1.2.3