summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--project2/ice/iceRows.cpp4
1 files changed, 3 insertions, 1 deletions
diff --git a/project2/ice/iceRows.cpp b/project2/ice/iceRows.cpp
index be079dd..1f391be 100644
--- a/project2/ice/iceRows.cpp
+++ b/project2/ice/iceRows.cpp
@@ -49,7 +49,9 @@ class IceRowState : public RowState {
void AssignFieldValue(FieldValues::iterator & field, ModelPartPtr domp)
{
- domp->GetValue(new Assign(*field++));
+ if (domp) {
+ domp->GetValue(new Assign(*field++));
+ }
}
Columns columns;