LibPDF: Rely on default-constructor of Variant
This commit is contained in:
parent
9265595e42
commit
98a0f9c0bd
Notes:
sideshowbarker
2024-07-18 03:35:52 +09:00
Author: https://github.com/BenWiederhake Commit: https://github.com/SerenityOS/serenity/commit/98a0f9c0bdd Pull-request: https://github.com/SerenityOS/serenity/pull/10154 Reviewed-by: https://github.com/alimpfard
1 changed files with 0 additions and 5 deletions
|
@ -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)
|
||||
|
|
Loading…
Add table
Reference in a new issue