# HG changeset patch # User Jorg K # Date 1527919359 -7200 # Sat Jun 02 08:02:39 2018 +0200 # Node ID 16e80af1dc4a4008b5ff07f674fce6427b799a3d # Parent da665e98363c482e694691f611c2e24aae6188e5 Bug 1466297 - Port bug 1465585: Switch from mozilla::Move to std::move. rs=bustage-fix diff --git a/mailnews/base/search/src/nsMsgFilterList.cpp b/mailnews/base/search/src/nsMsgFilterList.cpp --- a/mailnews/base/search/src/nsMsgFilterList.cpp +++ b/mailnews/base/search/src/nsMsgFilterList.cpp @@ -579,17 +579,17 @@ nsresult nsMsgFilterList::LoadValue(nsCS } nsresult nsMsgFilterList::LoadTextFilters(already_AddRefed aStream) { nsresult err = NS_OK; uint64_t bytesAvailable; nsCOMPtr bufStream; - nsCOMPtr stream = mozilla::Move(aStream); + nsCOMPtr stream = std::move(aStream); err = NS_NewBufferedInputStream(getter_AddRefs(bufStream), stream.forget(), FILE_IO_BUFFER_SIZE); NS_ENSURE_SUCCESS(err, err); nsMsgFilterFileAttribValue attrib; nsCOMPtr currentFilterAction; // We'd really like to move lot's of these into the objects that they refer to. do {