Simplify disabling Value ctor for pointer types

Signed-off-by: Nicholas Van Sickle <nvsickle@amazon.com>
This commit is contained in:
Nicholas Van Sickle
2022-01-07 09:53:14 -08:00
parent 839bbd734a
commit 8b9e3d2175
+2 -1
View File
@@ -216,8 +216,9 @@ namespace AZ::Dom
explicit Value(Type type);
// Disable accidental calls to Value(bool) with pointer types
template<class T>
explicit Value(T, AZStd::enable_if_t<AZStd::is_pointer_v<T>>* enabled = 0) = delete;
explicit Value(T*) = delete;
static Value FromOpaqueValue(const AZStd::any& value);