Skip to content

Commit

Permalink
#335: Update is_same to is_same_v
Browse files Browse the repository at this point in the history
  • Loading branch information
thearusable committed May 31, 2024
1 parent 9ba50c4 commit 26d428a
Showing 1 changed file with 2 additions and 8 deletions.
10 changes: 2 additions & 8 deletions src/checkpoint/container/queue_serialize.h
Original file line number Diff line number Diff line change
Expand Up @@ -76,10 +76,7 @@ template <
typename SerializerT,
typename T,
typename = std::enable_if_t<
not std::is_same<
SerializerT,
checkpoint::Footprinter
>::value
not std::is_same_v<SerializerT, checkpoint::Footprinter>
>
>
void serializeQueueLikeContainer(SerializerT& s, std::queue<T>& q) {
Expand Down Expand Up @@ -111,10 +108,7 @@ template <
typename SerializerT,
typename Q,
typename = std::enable_if_t<
std::is_same<
SerializerT,
checkpoint::Footprinter
>::value
std::is_same_v<SerializerT, checkpoint::Footprinter>
>
>
void serializeQueueLikeContainer(SerializerT& s, const Q& q) {
Expand Down

0 comments on commit 26d428a

Please sign in to comment.