Skip to content

Commit

Permalink
Build fix
Browse files Browse the repository at this point in the history
Signed-off-by: Andreas Rauschert <[email protected]>
  • Loading branch information
arauschert committed Oct 11, 2024
1 parent 09b29e5 commit 8c35475
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions cpp/openScenarioLib/generated/v1_3/impl/ApiClassImplV1_3.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -2634,9 +2634,9 @@ namespace NET_ASAM_OPENSCENARIO
// Simple type
clonedObject->SetLongitudinal(GetLongitudinal());
// Proxy
auto proxy = std::make_shared<NamedReferenceProxy<IObjectController>>(*std::dynamic_pointer_cast<NamedReferenceProxy<IObjectController>>(GetObjectControllerRef()));
proxy->SetParent(std::static_pointer_cast<IOpenScenarioModelElement>(clonedObject));
clonedObject->_objectControllerRef = proxy;
auto proxy1 = std::make_shared<NamedReferenceProxy<IObjectController>>(*std::dynamic_pointer_cast<NamedReferenceProxy<IObjectController>>(GetObjectControllerRef()));
proxy1->SetParent(std::static_pointer_cast<IOpenScenarioModelElement>(clonedObject));
clonedObject->_objectControllerRef = proxy1;

// clone indicators
clonedObject->_isSetAnimation = _isSetAnimation;
Expand Down

0 comments on commit 8c35475

Please sign in to comment.