Skip to content

Commit

Permalink
Fix typo
Browse files Browse the repository at this point in the history
  • Loading branch information
sitaowang1998 committed Nov 29, 2024
1 parent db21fe7 commit 165eb84
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/spider/core/Serializer.hpp
Original file line number Diff line number Diff line change
Expand Up @@ -49,13 +49,13 @@ concept SerializableImpl = requires(T t) {
};

template <class T>
concept DeSerialzableImpl = requires(T t) {
concept DeSerializableImpl = requires(T t) {
{
msgpack::object{}.convert(t)
};
};

template <class T>
concept Serializable = SerializableImpl<T> && DeSerialzableImpl<T>;
concept Serializable = SerializableImpl<T> && DeSerializableImpl<T>;

#endif // SPIDER_CORE_SERIALIZER_HPP

0 comments on commit 165eb84

Please sign in to comment.