17 lines
463 B
Plaintext
17 lines
463 B
Plaintext
ports-gcc fix for:
|
|
parseobject.cpp:280:10: error: converting to 'bool' from 'std::nullptr_t'
|
|
requires direct-initialization
|
|
|
|
Index: src/celengine/parseobject.cpp
|
|
--- src/celengine/parseobject.cpp.orig
|
|
+++ src/celengine/parseobject.cpp
|
|
@@ -278,7 +278,7 @@ ParseStringList(Hash* table,
|
|
{
|
|
Value* v = table->getValue(propertyName);
|
|
if (v == NULL)
|
|
- return NULL;
|
|
+ return false;
|
|
|
|
// Check for a single string first.
|
|
if (v->getType() == Value::StringType)
|