fixed for mac improved readability

This commit is contained in:
2025-10-08 07:26:23 +03:00
parent d84259fdcc
commit e1b4375621
6 changed files with 37 additions and 17 deletions

View File

@@ -36,11 +36,11 @@ namespace omath
public:
[[nodiscard]]
static std::span<std::byte>::const_iterator scan_for_pattern(const std::span<std::byte>& range,
static std::span<std::byte>::iterator scan_for_pattern(const std::span<std::byte>& range,
const std::string_view& pattern);
[[nodiscard]]
static std::span<std::byte>::const_iterator scan_for_pattern(std::span<std::byte>&& range,
static std::span<std::byte>::iterator scan_for_pattern(std::span<std::byte>&& range,
const std::string_view& pattern) = delete;
template<class IteratorType>

View File

@@ -7,6 +7,8 @@
#include <filesystem>
#include <optional>
#include <string_view>
#include <vector>
namespace omath
{
class PePatternScanner final