[libc++][NFC] Don't rely on `<algorithm>` transitively including `<memory>` in tests
authorIgor Zhukov <fsb4000@yandex.ru>
Wed, 3 Aug 2022 00:45:28 +0000 (20:45 -0400)
committerLouis Dionne <ldionne.2@gmail.com>
Wed, 3 Aug 2022 00:46:05 +0000 (20:46 -0400)
commit495519e5f8232d144ed26e9c18dbcbac6a5f25eb
tree89a7905f852b8332fd81c1eda3cea003e59b3885
parentdb0ac307c9df26d26a629552aec0a78f1b492dfd
[libc++][NFC] Don't rely on `<algorithm>` transitively including `<memory>` in tests

Found by @cpplearner (https://github.com/microsoft/STL/pull/2976#discussion_r935440806)

Differential Revision: https://reviews.llvm.org/D130997
libcxx/test/std/algorithms/ranges_result_alias_declarations.compile.pass.cpp