chore: apply light lints (#2570)

This commit is contained in:
iTrooz
2025-12-19 23:49:37 +01:00
committed by GitHub
parent 92cfdf1145
commit 261610dcf1
72 changed files with 477 additions and 447 deletions

View File

@@ -1,3 +1,4 @@
#include <algorithm>
#include <hex/helpers/patches.hpp>
#include <hex/helpers/utils.hpp>
@@ -5,7 +6,6 @@
#include <hex/providers/provider.hpp>
#include <cstring>
#include <string_view>
namespace hex {
@@ -83,7 +83,7 @@ namespace hex {
[[nodiscard]] UnlocalizedString getTypeName() const override { return ""; }
const std::map<u64, u8>& getPatches() const {
[[nodiscard]] const std::map<u64, u8>& getPatches() const {
return m_patches;
}
private:
@@ -92,7 +92,7 @@ namespace hex {
void pushStringBack(std::vector<u8> &buffer, const std::string &string) {
std::copy(string.begin(), string.end(), std::back_inserter(buffer));
std::ranges::copy(string, std::back_inserter(buffer));
}
template<typename T>