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
commit7ec8c8921b1089f1a0f88d83eedb3f046789fa19 (patch)
treeb1021f14e7110ec41e8738981341a0e992b205f0
parentClear script caches before libraries are unloaded (diff)
downloadproject2-7ec8c8921b1089f1a0f88d83eedb3f046789fa19.tar.bz2
project2-7ec8c8921b1089f1a0f88d83eedb3f046789fa19.tar.xz
project2-7ec8c8921b1089f1a0f88d83eedb3f046789fa19.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;