diff options
author | Jay Berkenbilt <jberkenbilt@users.noreply.github.com> | 2022-09-01 19:14:56 +0200 |
---|---|---|
committer | GitHub <noreply@github.com> | 2022-09-01 19:14:56 +0200 |
commit | f8fd7d60e301b9b1bf4d705ce747e281c320487e (patch) | |
tree | 4aba6da08ae9d441ecf57eabefdc76185137d28d /libqpdf/QPDFValue.cc | |
parent | a078202c1b5823f1c13a4c559619158054029e73 (diff) | |
parent | 805c1ad47968e33e1296af9a31492f6916ad9113 (diff) | |
download | qpdf-f8fd7d60e301b9b1bf4d705ce747e281c320487e.tar.zst |
Merge pull request #726 from m-holger/tidy3
Split QPDFObject into QPDFObject and QPDFValue
Diffstat (limited to 'libqpdf/QPDFValue.cc')
-rw-r--r-- | libqpdf/QPDFValue.cc | 11 |
1 files changed, 11 insertions, 0 deletions
diff --git a/libqpdf/QPDFValue.cc b/libqpdf/QPDFValue.cc new file mode 100644 index 00000000..8a6222d2 --- /dev/null +++ b/libqpdf/QPDFValue.cc @@ -0,0 +1,11 @@ +#include <qpdf/QPDFValue.hh> + +#include <qpdf/QPDFObject.hh> + +std::shared_ptr<QPDFObject> +QPDFValue::do_create(QPDFValue* object) +{ + std::shared_ptr<QPDFObject> obj(new QPDFObject()); + obj->value = std::shared_ptr<QPDFValue>(object); + return obj; +} |