Skip to content

Commit

Permalink
Remove redundant move
Browse files Browse the repository at this point in the history
  • Loading branch information
jkoritzinsky committed Jun 18, 2024
1 parent 373668b commit 33adfba
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/interfaces/dispenser.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -28,7 +28,7 @@ namespace
MetadataImportRO* import = unknown->CreateAndAddTearOff<MetadataImportRO>(std::move(handle_view));
if (!_threadSafe)
{
return std::move(unknown);
return unknown;
}
dncp::com_ptr<ControllingIUnknown> threadSafeUnknown;
threadSafeUnknown.Attach(new ControllingIUnknown());
Expand Down

0 comments on commit 33adfba

Please sign in to comment.