summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorDan Goodliffe <randomdan@akira.random.lan>2014-12-01 17:21:50 +0000
committerDan Goodliffe <randomdan@akira.random.lan>2014-12-01 17:21:50 +0000
commit1ca759d9ddbf7a9de3808d05b756374a21d9bb27 (patch)
treeb1021f14e7110ec41e8738981341a0e992b205f0
parentClear script caches before libraries are unloaded (diff)
downloadproject2-1ca759d9ddbf7a9de3808d05b756374a21d9bb27.tar.bz2
project2-1ca759d9ddbf7a9de3808d05b756374a21d9bb27.tar.xz
project2-1ca759d9ddbf7a9de3808d05b756374a21d9bb27.zip
Always move to the next field, even if the current field doesn't have a model
-rw-r--r--project2/ice/iceRows.cpp3
1 files changed, 2 insertions, 1 deletions
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;