mirror of
https://github.com/WerWolv/ImHex.git
synced 2026-04-02 05:27:41 -05:00
chore: apply light lints (#2570)
This commit is contained in:
@@ -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>
|
||||
|
||||
Reference in New Issue
Block a user