From 2d8fd283f6ee5a0d0ce81d96eb83e9472ac09f41 Mon Sep 17 00:00:00 2001 From: hashlag <90853356+hashlag@users.noreply.github.com> Date: Wed, 17 Sep 2025 00:27:44 +0300 Subject: [PATCH] Arc4CryptTests: Remove unused U8VecToStr helper function --- ChaosTests/Cipher/Arc4CryptTests.cpp | 13 ------------- 1 file changed, 13 deletions(-) diff --git a/ChaosTests/Cipher/Arc4CryptTests.cpp b/ChaosTests/Cipher/Arc4CryptTests.cpp index c423296..b2192bc 100644 --- a/ChaosTests/Cipher/Arc4CryptTests.cpp +++ b/ChaosTests/Cipher/Arc4CryptTests.cpp @@ -21,19 +21,6 @@ static std::vector StrToU8Vec(const char * str) return result; } -static std::string U8VecToStr(const std::vector & vec) -{ - std::string result; - result.reserve(vec.size()); - - for (auto it = vec.begin(); it != vec.end(); ++it) - { - result.push_back(static_cast(*it)); - } - - return result; -} - TEST(Arc4CryptTests, BasicTest) { const std::vector key = StrToU8Vec("Secret");