Const a few member variables.

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

No files matched your search

+1 -1
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;
+1 -1
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: