Fixes build errors and warnings

This commit is contained in:
Victor Lindquist
2022-06-29 15:56:55 -06:00
parent 0322d12425
commit 10724bb362
3 changed files with 25 additions and 26 deletions

View File

@@ -98,7 +98,7 @@ void SoftwareConnection::addPropertySubscription(
}
// Set new onChange handler
SceneGraphNodeInfo::OnChangeHandle onChangeHandle = property->onChange(newHandler);
connection::SceneGraphNodeInfo::OnChangeHandle onChangeHandle = property->onChange(newHandler);
auto propertySubscriptions = _sceneGraphNodes.find(identifier);
if (propertySubscriptions == _sceneGraphNodes.end()) {
@@ -118,7 +118,7 @@ void SoftwareConnection::addPropertySubscription(
}
else {
// Property subscription doesn't exist
SceneGraphNodeInfo::PropertySubscription newPropertySubscription{ onChangeHandle };
connection::SceneGraphNodeInfo::PropertySubscription newPropertySubscription{ onChangeHandle };
propertySubscriptions->second.propertySubscriptions.emplace(propertyName, newPropertySubscription);
}
}