Skip to content

Commit 4458094

Browse files
committed
Fix move errors.
1 parent 6f71ad6 commit 4458094

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

packages/nodegraph/include/nodegraph/NodeGraphSchema.h

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -87,14 +87,14 @@ namespace l::nodegraph {
8787

8888
NodeGraphSchema& operator=(NodeGraphSchema&& other) noexcept {
8989
mMainNodeGraph = std::move(other.mMainNodeGraph);
90-
mName = std::move(other.mName);
90+
mName = other.mName;
9191
mRegisteredNodeTypes = std::move(other.mRegisteredNodeTypes);
9292
mCreateCustomNode = std::move(other.mCreateCustomNode);
9393
mKeyState = other.mKeyState;
9494
mAudioOutput = other.mAudioOutput;
9595
mMidiManager = other.mMidiManager;
9696
mRegisteredNodeTypes = std::move(other.mRegisteredNodeTypes);
97-
mPickerRootMenu = std::move(mPickerRootMenu);
97+
mPickerRootMenu = mPickerRootMenu;
9898
return *this;
9999
}
100100

0 commit comments

Comments
 (0)