Const a few member variables.

Signed-off-by: Adrian Conlon <adrian.conlon@gmail.com>
This commit is contained in:
Adrian Conlon 2021-10-24 23:20:05 +01:00
parent 09cc616ee9
commit 75dd53f829
2 changed files with 2 additions and 2 deletions

View File

@ -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;

View File

@ -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: