This commit is contained in:
2025-09-14 10:07:23 +06:00
parent 55700c6939
commit 9cfae9c807
4 changed files with 51 additions and 5 deletions

View File

@@ -180,6 +180,10 @@ protected:
: Pos(pos), Input(input)
{}
LinearReader(const std::u8string_view input, size_t pos = 0)
: Pos(pos), Input(input)
{}
LinearReader(const LinearReader&) = delete;
LinearReader(LinearReader&&) = delete;
LinearReader& operator=(const LinearReader&) = delete;
@@ -226,7 +230,7 @@ protected:
private:
size_t Pos = 0;
const std::u8string& Input;
const std::u8string_view Input;
};
class SmartPacket : public Packet {