From 1967389fdc6f6d5c2f9d35d6eaae82eda47899eb Mon Sep 17 00:00:00 2001 From: "Scott E. Graves" Date: Wed, 3 Sep 2025 15:01:24 -0500 Subject: [PATCH] fix --- .../include/fixtures/fuse_fixture.hpp | 18 +++++++++--------- .../include/fixtures/winfsp_fixture.hpp | 18 +++++++++--------- 2 files changed, 18 insertions(+), 18 deletions(-) diff --git a/repertory/repertory_test/include/fixtures/fuse_fixture.hpp b/repertory/repertory_test/include/fixtures/fuse_fixture.hpp index d3e08cd2..7b62352a 100644 --- a/repertory/repertory_test/include/fixtures/fuse_fixture.hpp +++ b/repertory/repertory_test/include/fixtures/fuse_fixture.hpp @@ -56,7 +56,7 @@ struct local_s3_no_encryption final { static constexpr provider_type type2{provider_type::s3}; static constexpr std::uint16_t remote_port{41000U}; static constexpr bool force_legacy_encryption{false}; - static constexpr std::string encryption_token{""}; + static constexpr std::string_view encryption_token{""}; }; struct local_s3_encryption final { @@ -64,7 +64,7 @@ struct local_s3_encryption final { static constexpr provider_type type2{provider_type::s3}; static constexpr std::uint16_t remote_port{41000U}; static constexpr bool force_legacy_encryption{false}; - static constexpr std::string encryption_token{"encryption_token"}; + static constexpr std::string_view encryption_token{"encryption_token"}; }; struct local_s3_legacy_encryption final { @@ -72,7 +72,7 @@ struct local_s3_legacy_encryption final { static constexpr provider_type type2{provider_type::s3}; static constexpr std::uint16_t remote_port{41000U}; static constexpr bool force_legacy_encryption{true}; - static constexpr std::string encryption_token{"encryption_token"}; + static constexpr std::string_view encryption_token{"encryption_token"}; }; struct remote_s3_no_encryption final { @@ -80,7 +80,7 @@ struct remote_s3_no_encryption final { static constexpr provider_type type2{provider_type::s3}; static constexpr std::uint16_t remote_port{41000U}; static constexpr bool force_legacy_encryption{false}; - static constexpr std::string encryption_token{""}; + static constexpr std::string_view encryption_token{""}; }; struct remote_s3_encryption final { @@ -88,7 +88,7 @@ struct remote_s3_encryption final { static constexpr provider_type type2{provider_type::s3}; static constexpr std::uint16_t remote_port{41000U}; static constexpr bool force_legacy_encryption{false}; - static constexpr std::string encryption_token{"encryption_token"}; + static constexpr std::string_view encryption_token{"encryption_token"}; }; struct remote_s3_legacy_encryption final { @@ -96,7 +96,7 @@ struct remote_s3_legacy_encryption final { static constexpr provider_type type2{provider_type::s3}; static constexpr std::uint16_t remote_port{41000U}; static constexpr bool force_legacy_encryption{true}; - static constexpr std::string encryption_token{"encryption_token"}; + static constexpr std::string_view encryption_token{"encryption_token"}; }; struct local_sia final { @@ -104,7 +104,7 @@ struct local_sia final { static constexpr provider_type type2{provider_type::sia}; static constexpr std::uint16_t remote_port{41001U}; static constexpr bool force_legacy_encryption{false}; - static constexpr std::string encryption_token{""}; + static constexpr std::string_view encryption_token{""}; }; struct remote_sia final { @@ -112,7 +112,7 @@ struct remote_sia final { static constexpr provider_type type2{provider_type::sia}; static constexpr std::uint16_t remote_port{41001U}; static constexpr bool force_legacy_encryption{false}; - static constexpr std::string encryption_token{""}; + static constexpr std::string_view encryption_token{""}; }; struct remote_linux_to_winfsp final { @@ -120,7 +120,7 @@ struct remote_linux_to_winfsp final { static constexpr provider_type type2{provider_type::unknown}; static constexpr std::uint16_t remote_port{41002U}; static constexpr bool force_legacy_encryption{false}; - static constexpr std::string encryption_token{""}; + static constexpr std::string_view encryption_token{""}; }; template class fuse_test : public ::testing::Test { diff --git a/repertory/repertory_test/include/fixtures/winfsp_fixture.hpp b/repertory/repertory_test/include/fixtures/winfsp_fixture.hpp index 4f697778..a67e91da 100644 --- a/repertory/repertory_test/include/fixtures/winfsp_fixture.hpp +++ b/repertory/repertory_test/include/fixtures/winfsp_fixture.hpp @@ -47,7 +47,7 @@ struct local_s3_no_encryption final { static constexpr provider_type type2{provider_type::s3}; static constexpr std::uint16_t remote_port{41000U}; static constexpr bool force_legacy_encryption{false}; - static constexpr std::string encryption_token{""}; + static constexpr std::string_view encryption_token{""}; }; struct local_s3_encryption final { @@ -55,7 +55,7 @@ struct local_s3_encryption final { static constexpr provider_type type2{provider_type::s3}; static constexpr std::uint16_t remote_port{41000U}; static constexpr bool force_legacy_encryption{false}; - static constexpr std::string encryption_token{"encryption_token"}; + static constexpr std::string_view encryption_token{"encryption_token"}; }; struct local_s3_legacy_encryption final { @@ -63,7 +63,7 @@ struct local_s3_legacy_encryption final { static constexpr provider_type type2{provider_type::s3}; static constexpr std::uint16_t remote_port{41000U}; static constexpr bool force_legacy_encryption{true}; - static constexpr std::string encryption_token{"encryption_token"}; + static constexpr std::string_view encryption_token{"encryption_token"}; }; struct remote_s3_no_encryption final { @@ -71,7 +71,7 @@ struct remote_s3_no_encryption final { static constexpr provider_type type2{provider_type::s3}; static constexpr std::uint16_t remote_port{41000U}; static constexpr bool force_legacy_encryption{false}; - static constexpr std::string encryption_token{""}; + static constexpr std::string_view encryption_token{""}; }; struct remote_s3_encryption final { @@ -79,7 +79,7 @@ struct remote_s3_encryption final { static constexpr provider_type type2{provider_type::s3}; static constexpr std::uint16_t remote_port{41000U}; static constexpr bool force_legacy_encryption{false}; - static constexpr std::string encryption_token{"encryption_token"}; + static constexpr std::string_view encryption_token{"encryption_token"}; }; struct remote_s3_legacy_encryption final { @@ -87,7 +87,7 @@ struct remote_s3_legacy_encryption final { static constexpr provider_type type2{provider_type::s3}; static constexpr std::uint16_t remote_port{41000U}; static constexpr bool force_legacy_encryption{true}; - static constexpr std::string encryption_token{"encryption_token"}; + static constexpr std::string_view encryption_token{"encryption_token"}; }; struct local_sia final { @@ -95,7 +95,7 @@ struct local_sia final { static constexpr provider_type type2{provider_type::sia}; static constexpr std::uint16_t remote_port{41001U}; static constexpr bool force_legacy_encryption{false}; - static constexpr std::string encryption_token{""}; + static constexpr std::string_view encryption_token{""}; }; struct remote_sia final { @@ -103,7 +103,7 @@ struct remote_sia final { static constexpr provider_type type2{provider_type::sia}; static constexpr std::uint16_t remote_port{41001U}; static constexpr bool force_legacy_encryption{false}; - static constexpr std::string encryption_token{""}; + static constexpr std::string_view encryption_token{""}; }; struct remote_winfsp_to_linux final { @@ -111,7 +111,7 @@ struct remote_winfsp_to_linux final { static constexpr provider_type type2{provider_type::unknown}; static constexpr std::uint16_t remote_port{41002U}; static constexpr bool force_legacy_encryption{false}; - static constexpr std::string encryption_token{""}; + static constexpr std::string_view encryption_token{""}; }; template class winfsp_test : public ::testing::Test {