std::move
the into the path info map
This commit is contained in:
parent
d0d3b0a298
commit
f6f817926a
@ -341,7 +341,7 @@ static std::map<StorePath, UnkeyedValidPathInfo> queryPathInfos(
|
|||||||
|
|
||||||
auto storePath = localStore.parseStorePath(storePathS);
|
auto storePath = localStore.parseStorePath(storePathS);
|
||||||
auto info = ServeProto::Serialise<UnkeyedValidPathInfo>::read(localStore, conn);
|
auto info = ServeProto::Serialise<UnkeyedValidPathInfo>::read(localStore, conn);
|
||||||
infos.insert_or_assign(storePath, info);
|
infos.insert_or_assign(std::move(storePath), std::move(info));
|
||||||
}
|
}
|
||||||
|
|
||||||
return infos;
|
return infos;
|
||||||
|
Loading…
x
Reference in New Issue
Block a user