LibPDF: Rely on default-constructor of Variant

This commit is contained in:
Ben Wiederhake 2021-09-19 23:00:07 +02:00 committed by Ali Mohammad Pur
parent 9265595e42
commit 98a0f9c0bd
Notes: sideshowbarker 2024-07-18 03:35:52 +09:00

View file

@ -20,11 +20,6 @@ class Value : public Variant<Empty, std::nullptr_t, bool, int, float, Reference,
public:
using Variant::Variant;
Value()
: Variant(Empty())
{
}
template<IsObject T>
Value(RefPtr<T> const& refptr)
: Variant(nullptr)