Bug 1465060 - Part 1: Fix warnings for std::move() use r=froydnj

MozReview-Commit-ID: HpdFXqQdIOO
This commit is contained in:
Miko Mynttinen
2018-06-01 17:59:07 +02:00
parent 0f5163a609
commit 5afe37aefc
88 changed files with 192 additions and 176 deletions

View File

@@ -47,7 +47,7 @@ WebRequestService::RegisterChannel(ChannelWrapper* aChannel)
MOZ_DIAGNOSTIC_ASSERT(!key);
key.OrInsert([&entry]() { return entry.get(); });
return std::move(entry);
return entry;
}