refactor: Drop unused includes after iwyu CI bump
What changed, and why it matters
This commit simply removes two unused C++ standard library header includes (<compare>) from source files because a code-quality tool (IWYU) now flags them after the CI's standard library version was bumped. There is no functional code change, no bug fix, and no security relevance.
No security action needed. Treat as routine code hygiene / build cleanup.
Security signals we found
No strong security signals were identified.
Evidence from the diff
The diff deletes #include
Changed components
src/script/miniscript.hsrc/util/strencodings.cppInspect captured patch +0 / −2
diff --git a/src/script/miniscript.h b/src/script/miniscript.h
index 1e25a30e..4e8beb19 100644
--- a/src/script/miniscript.h
+++ b/src/script/miniscript.h
@@ -18,7 +18,6 @@
#include <util/vector.h>
#include <algorithm>
-#include <compare>
#include <concepts>
#include <cstdint>
#include <cstdlib>
diff --git a/src/util/strencodings.cpp b/src/util/strencodings.cpp
index 5edc686c..47574b1f 100644
--- a/src/util/strencodings.cpp
+++ b/src/util/strencodings.cpp
@@ -10,7 +10,6 @@
#include <util/check.h>
#include <util/overflow.h>
-#include <compare>
#include <limits>
#include <optional>
#include <sstream>
Why this scored 15/100
Community notes
Notes can correct, qualify, or add evidence to the AI analysis. Every note shown here has been validated by a human moderator.
The AI analysis stands alone for now. Submit a note if you can add evidence or important context.