Load common module automatically without the need to declare it in the scenefile

Drastically remove the amount of false-positive errors during runtime
This commit is contained in:
Alexander Bock
2014-10-11 14:45:34 +02:00
parent c226e9b82f
commit befcc59bcd
5 changed files with 10 additions and 10 deletions
-4
View File
@@ -77,8 +77,6 @@ Property* PropertyOwner::property(const std::string& id) const
const size_t ownerSeparator = id.find(URISeparator);
if (ownerSeparator == std::string::npos) {
// if we do not own the property and there is no separator, it does not exist
LERROR("The identifier '" << id << "' did not exist in PropertyOwner '" <<
name() << "'");
return nullptr;
}
else {
@@ -87,8 +85,6 @@ Property* PropertyOwner::property(const std::string& id) const
PropertyOwner* owner = subOwner(ownerName);
if (owner == nullptr) {
LERROR("Sub PropertyOwner '" << owner
<< "' did not exist for PropertyOwner '" << name() << "'");
return nullptr;
}
else {