diff options
author | Dan Goodliffe <randomdan@akira.random.lan> | 2014-12-01 14:30:27 +0000 |
---|---|---|
committer | Dan Goodliffe <randomdan@akira.random.lan> | 2014-12-01 14:30:27 +0000 |
commit | f68aeb8df891f0f0223327be13c47db8f4c1cb0a (patch) | |
tree | 3afec216f74e3fa48387b6d67484369f01b2802f | |
parent | Log variables, not domain objects (might not support operator<<) (diff) | |
download | project2-f68aeb8df891f0f0223327be13c47db8f4c1cb0a.tar.bz2 project2-f68aeb8df891f0f0223327be13c47db8f4c1cb0a.tar.xz project2-f68aeb8df891f0f0223327be13c47db8f4c1cb0a.zip |
Add null check when iterating model parts
-rw-r--r-- | project2/ice/iceRows.cpp | 4 |
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; |