mirror of
https://github.com/LadybirdBrowser/ladybird.git
synced 2025-07-29 20:29:18 +00:00
LibGUI: Remove GUI::Variant::Variant(JsonValue const&)
Let's force callers of Variant constructor to know the type of the object they are constructing.
This commit is contained in:
parent
77f36a9e46
commit
0388c828be
Notes:
sideshowbarker
2024-07-16 23:23:26 +09:00
Author: https://github.com/DanShaders
Commit: 0388c828be
Pull-request: https://github.com/SerenityOS/serenity/pull/22729
Reviewed-by: https://github.com/ADKaster ✅
3 changed files with 1 additions and 51 deletions
|
@ -29,8 +29,6 @@ public:
|
|||
using Detail::VariantUnderlyingType::Variant;
|
||||
using Detail::VariantUnderlyingType::operator=;
|
||||
|
||||
Variant(JsonValue const&);
|
||||
Variant& operator=(JsonValue const&);
|
||||
Variant(bool v)
|
||||
: Variant(Detail::Boolean { v })
|
||||
{
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue