From b090dcd1f224be4e19370f2d00e23dbcc3c5f161 Mon Sep 17 00:00:00 2001 From: Terry Mancey Date: Wed, 15 Jan 2025 14:17:30 -0500 Subject: [PATCH] [ads] General code health --- ...eative_search_result_ad_mojom_web_page_entities_test_util.cc | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/components/brave_ads/content/browser/creatives/search_result_ad/creative_search_result_ad_mojom_web_page_entities_test_util.cc b/components/brave_ads/content/browser/creatives/search_result_ad/creative_search_result_ad_mojom_web_page_entities_test_util.cc index d53aabd4e185..c6ff653400fd 100644 --- a/components/brave_ads/content/browser/creatives/search_result_ad/creative_search_result_ad_mojom_web_page_entities_test_util.cc +++ b/components/brave_ads/content/browser/creatives/search_result_ad/creative_search_result_ad_mojom_web_page_entities_test_util.cc @@ -110,7 +110,7 @@ class CreativeAdMojomWebPageEntitiesConstructor final { const std::string& name, T value) { if (!base::Contains(excluded_property_names_, name)) { - AddMojomProperty(mojom_properties, name, value); + AddMojomProperty(mojom_properties, name, std::move(value)); } }