Skip to content

Commit 01215dd

Browse files
committed
fix assigment
1 parent ec9142e commit 01215dd

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

export/src/fmu4cpp/fmi3.cpp

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -593,7 +593,7 @@ fmi3Status fmi3GetFMUState(fmi3Instance c, fmi3FMUState *state) {
593593
const auto component = static_cast<Fmi3Component *>(c);
594594

595595
if (auto s = component->slave->getFMUState()) {
596-
state = &s;
596+
*state = s;
597597
return fmi3OK;
598598
}
599599

0 commit comments

Comments
 (0)