From 165eb84bf681982d96b27a0774a6cbec5f1ff0ff Mon Sep 17 00:00:00 2001 From: sitaowang1998 Date: Fri, 29 Nov 2024 09:14:50 -0500 Subject: [PATCH] Fix typo --- src/spider/core/Serializer.hpp | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/spider/core/Serializer.hpp b/src/spider/core/Serializer.hpp index d7afa04..2e9dfcf 100644 --- a/src/spider/core/Serializer.hpp +++ b/src/spider/core/Serializer.hpp @@ -49,13 +49,13 @@ concept SerializableImpl = requires(T t) { }; template -concept DeSerialzableImpl = requires(T t) { +concept DeSerializableImpl = requires(T t) { { msgpack::object{}.convert(t) }; }; template -concept Serializable = SerializableImpl && DeSerialzableImpl; +concept Serializable = SerializableImpl && DeSerializableImpl; #endif // SPIDER_CORE_SERIALIZER_HPP