[cpm] sirit+jwt fixes for clang24

Signed-off-by: lizzie <lizzie@eden-emu.dev>
This commit is contained in:
lizzie
2026-10-08 12:25:50 +00:00
parent 10bcd2d849
commit 0e8c88022b
3 changed files with 30 additions and 1 deletions
+13
View File
@@ -0,0 +1,13 @@
diff --git a/include/jwt/algorithm.hpp b/include/jwt/algorithm.hpp
index 35347fe..183fcc2 100644
--- a/include/jwt/algorithm.hpp
+++ b/include/jwt/algorithm.hpp
@@ -484,7 +484,7 @@ public:
{
std::error_code ec{};
- std::string ii{data.data(), data.length()};
+ //std::string ii{data.data(), data.length()};
EC_PKEY_uptr pkey{load_key(key, ec), ev_pkey_deletor};
if (ec) return { std::string{}, ec };