try {
result = boost::lexical_cast<T>(val);
} catch (boost::bad_lexical_cast &) {
- throw simgear::effect::BuilderException(string("findAttrOrHex: could not find attribute ")
- + string(val));
+ throw simgear::effect::BuilderException(std::string("findAttrOrHex: could not find attribute ")
+ + std::string(val));
}
}
}
orderNum = prop->getIntValue("order-num", -1);
effect = prop->getStringValue("effect", "");
+ debugProperty = prop->getStringValue("debug-property", "");
parseCondition(prop);
}