mirror of
https://github.com/OpenSpace/OpenSpace.git
synced 2026-01-21 11:39:51 -06:00
Fixes build errors and warnings
This commit is contained in:
@@ -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);
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user