diff options
Diffstat (limited to 'include/qpdf/QPDFTokenizer.hh')
-rw-r--r-- | include/qpdf/QPDFTokenizer.hh | 11 |
1 files changed, 3 insertions, 8 deletions
diff --git a/include/qpdf/QPDFTokenizer.hh b/include/qpdf/QPDFTokenizer.hh index fe2e95f7..eb9215aa 100644 --- a/include/qpdf/QPDFTokenizer.hh +++ b/include/qpdf/QPDFTokenizer.hh @@ -62,13 +62,8 @@ class QPDFTokenizer { public: Token() : type(tt_bad) {} - - Token(token_type_e type, std::string const& value) : - type(type), - value(value) - { - } - + QPDF_DLL + Token(token_type_e type, std::string const& value); Token(token_type_e type, std::string const& value, std::string raw_value, std::string error_message) : type(type), @@ -93,7 +88,7 @@ class QPDFTokenizer { return this->error_message; } - bool operator==(Token const& rhs) + bool operator==(Token const& rhs) const { // Ignore fields other than type and value return ((this->type != tt_bad) && |