Remove unused std::monostate handling
This wasn't useful after all.
This commit is contained in:
parent
3374e4ea6c
commit
456702e009
|
@ -14,7 +14,6 @@
|
|||
#include <limits>
|
||||
#include <list>
|
||||
#include <string>
|
||||
#include <variant>
|
||||
#include <vector>
|
||||
|
||||
namespace ReflectiveRapidJSON {
|
||||
|
@ -53,11 +52,6 @@ constexpr JsonType jsonType()
|
|||
return JsonType::Number;
|
||||
}
|
||||
|
||||
template <typename Type, Traits::EnableIf<std::is_same<Type, std::monostate>> * = nullptr> constexpr JsonType jsonType()
|
||||
{
|
||||
return JsonType::Null;
|
||||
}
|
||||
|
||||
template <typename Type, Traits::EnableIfAny<std::is_same<Type, bool>> * = nullptr> constexpr JsonType jsonType()
|
||||
{
|
||||
return JsonType::Bool;
|
||||
|
|
Loading…
Reference in New Issue