fix gcc/clang tests compilation

This commit is contained in:
BlackMATov
2024-09-05 09:04:03 +07:00
parent c72e4047c0
commit 9e9823a8dc

View File

@@ -542,7 +542,7 @@ TEST_CASE("meta/meta_utilities/value") {
using ref_t = std::reference_wrapper<std::unique_ptr<int>>;
using cref_t = std::reference_wrapper<const std::unique_ptr<int>>;
std::unique_ptr u = std::make_unique<int>(42);
std::unique_ptr<int> u = std::make_unique<int>(42);
CHECK(meta::uvalue{ref_t{u}}.has_copy_op());
CHECK(meta::uvalue{cref_t{u}}.has_copy_op());
meta::uvalue v1 = meta::uvalue{ref_t{u}}.copy();