[opengtl-commits] [679] don't assert when entering an invalid color |
[ Thread Index |
Date Index
| More lists.tuxfamily.org/opengtl-commits Archives
]
Revision: 679
Author: cyrille
Date: 2009-03-25 10:56:49 +0100 (Wed, 25 Mar 2009)
Log Message:
-----------
don't assert when entering an invalid color
Modified Paths:
--------------
trunk/OpenGTL/OpenShiva/OpenShiva/MetadataParser_p.cpp
Modified: trunk/OpenGTL/OpenShiva/OpenShiva/MetadataParser_p.cpp
===================================================================
--- trunk/OpenGTL/OpenShiva/OpenShiva/MetadataParser_p.cpp 2009-03-25 09:51:58 UTC (rev 678)
+++ trunk/OpenGTL/OpenShiva/OpenShiva/MetadataParser_p.cpp 2009-03-25 09:56:49 UTC (rev 679)
@@ -216,13 +216,13 @@
}
if( not isOfType( currentToken(), GTLCore::Token::COMA ) )
{
- return values;
+ return GTLCore::Value();
}
getNextToken();
}
getNextToken();
}
- return values;
+ return GTLCore::Value();
}
const GTLCore::Metadata::ValueEntry* MetadataParser::parseValueEntry(const GTLCore::String& name)