diff options
Diffstat (limited to 'libqpdf/JSON.cc')
-rw-r--r-- | libqpdf/JSON.cc | 32 |
1 files changed, 0 insertions, 32 deletions
diff --git a/libqpdf/JSON.cc b/libqpdf/JSON.cc index 4f2a14d9..c02e06b8 100644 --- a/libqpdf/JSON.cc +++ b/libqpdf/JSON.cc @@ -5,10 +5,6 @@ #include <cstring> #include <stdexcept> -JSON::Members::~Members() -{ -} - JSON::Members::Members(std::shared_ptr<JSON_value> value) : value(value) { @@ -19,14 +15,6 @@ JSON::JSON(std::shared_ptr<JSON_value> value) : { } -JSON::JSON_value::~JSON_value() -{ -} - -JSON::JSON_dictionary::~JSON_dictionary() -{ -} - std::string JSON::JSON_dictionary::unparse(size_t depth) const { @@ -51,10 +39,6 @@ JSON::JSON_dictionary::unparse(size_t depth) const return result; } -JSON::JSON_array::~JSON_array() -{ -} - std::string JSON::JSON_array::unparse(size_t depth) const { @@ -84,10 +68,6 @@ JSON::JSON_string::JSON_string(std::string const& utf8) : { } -JSON::JSON_string::~JSON_string() -{ -} - std::string JSON::JSON_string::unparse(size_t) const { @@ -109,10 +89,6 @@ JSON::JSON_number::JSON_number(std::string const& value) : { } -JSON::JSON_number::~JSON_number() -{ -} - std::string JSON::JSON_number::unparse(size_t) const { @@ -124,20 +100,12 @@ JSON::JSON_bool::JSON_bool(bool val) : { } -JSON::JSON_bool::~JSON_bool() -{ -} - std::string JSON::JSON_bool::unparse(size_t) const { return value ? "true" : "false"; } -JSON::JSON_null::~JSON_null() -{ -} - std::string JSON::JSON_null::unparse(size_t) const { |