diff --git a/include/matjson.hpp b/include/matjson.hpp index be4bb48..ec88216 100644 --- a/include/matjson.hpp +++ b/include/matjson.hpp @@ -73,7 +73,7 @@ namespace matjson { }; template concept CanDeserialize = requires(matjson::Value const& value, T t) { - { Serialize>::fromJson(value) }; + { Serialize>::fromJson(value) } -> geode::impl::IsResult<>; }; template concept CanSerde = CanSerialize && CanDeserialize;