Skip to content
Snippets Groups Projects
Commit 231826f9 authored by Julien Michel's avatar Julien Michel
Browse files

ENH: Restored the OFTString ase in GetFieldAsInt (this code snippet got...

ENH: Restored the OFTString ase in GetFieldAsInt (this code snippet got accidentally erased in last commits))
parent 95a00d39
No related branches found
No related tags found
No related merge requests found
......@@ -198,7 +198,7 @@ VectorDataKeywordlist
{
return (int)(m_FieldList[i].second.Real);
}
if (m_FieldList[i].first->GetType() == OFTString)
case OFTString:
{
std::istringstream is(m_FieldList[i].second.String);
int value;
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment