mirror of
https://github.com/MoleskiCoder/EightBit.git
synced 2025-02-19 14:30:49 +00:00
Const a few member variables.
Signed-off-by: Adrian Conlon <adrian.conlon@gmail.com>
This commit is contained in:
parent
09cc616ee9
commit
75dd53f829
@ -6,7 +6,7 @@
|
||||
|
||||
class element_t {
|
||||
private:
|
||||
simdjson::dom::element m_raw;
|
||||
const simdjson::dom::element m_raw;
|
||||
|
||||
protected:
|
||||
element_t(simdjson::dom::element input) noexcept;
|
||||
|
@ -11,7 +11,7 @@ private:
|
||||
// Therefore, it can only be used for one document at a time.
|
||||
static simdjson::dom::parser m_parser;
|
||||
|
||||
std::string m_path;
|
||||
const std::string m_path;
|
||||
simdjson::dom::element m_raw;
|
||||
|
||||
public:
|
||||
|
Loading…
x
Reference in New Issue
Block a user