wsd: test: move single-use local map

Change-Id: I02e654b060415e5dda32ffafcdc19f8edfd86a62
Signed-off-by: Ashod Nakashian <ashod.nakashian@collabora.co.uk>
pull/8737/head
Ashod Nakashian 2024-04-10 12:51:27 -04:00 committed by Caolán McNamara
parent fc4de6db18
commit 7d266c64cd
1 changed files with 1 additions and 1 deletions

View File

@ -437,7 +437,7 @@ void FileServeTests::testPreProcessedFileSubstitution()
{ "BUYPRODUCT_URL", "https://buy.ourproduct.com/'" }
};
preProcessedFileSubstitution(testname, variables);
preProcessedFileSubstitution(testname, std::move(variables));
preProcessedFileSubstitution(std::string(testname) + "_empty",
std::unordered_map<std::string, std::string>());
}