From 0d058f7b077d829947c779929cd75a3fde5fe9a4 Mon Sep 17 00:00:00 2001 From: John Wellbelove Date: Sat, 31 Aug 2024 10:54:55 +0100 Subject: [PATCH] C++11 & 14 unit test compatibility --- test/test_message.cpp | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/test/test_message.cpp b/test/test_message.cpp index 6a41f8fdb..1e28b1f06 100644 --- a/test/test_message.cpp +++ b/test/test_message.cpp @@ -123,10 +123,10 @@ SUITE(test_message) struct MessageBase : public etl::imessage {}; struct Message2 : public etl::message<2, MessageBase> {}; - CHECK_TRUE((std::is_same_v)); - CHECK_TRUE((std::is_same_v)); + CHECK_TRUE((std::is_same::value)); + CHECK_TRUE((std::is_same::value)); - CHECK_FALSE((std::is_same_v)); - CHECK_FALSE((std::is_same_v)); + CHECK_FALSE((std::is_same::value)); + CHECK_FALSE((std::is_same::value)); } };