Skip to content

Commit c5af5fa

Browse files
caolanmvmiklos
authored andcommitted
cid#512050 Variable copied when it could be moved
Signed-off-by: Caolán McNamara <[email protected]> Change-Id: I765d4a9d1bbc6642b029adfd1feaeba2cf826626
1 parent 59381d8 commit c5af5fa

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

kit/ForKit.cpp

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -548,7 +548,7 @@ static int createLibreOfficeKit(const std::string& childRoot,
548548
DisplayVersion, sysTemplateIncomplete, spareKitId);
549549
};
550550

551-
auto parentFunc = [childRoot, jailId](int pid)
551+
auto parentFunc = [childRoot, jailId = std::move(jailId)](int pid)
552552
{
553553
// Parent
554554
if (pid < 0)

0 commit comments

Comments
 (0)