From ee2e68f44f7b9ee099f98b668257b5d57a86a695 Mon Sep 17 00:00:00 2001 From: Dan Goodliffe Date: Tue, 10 Aug 2021 18:14:30 +0100 Subject: Enable numeric conversion warning and fix the fallout --- lib/helpers.cpp | 11 +++++++++++ 1 file changed, 11 insertions(+) create mode 100644 lib/helpers.cpp (limited to 'lib/helpers.cpp') diff --git a/lib/helpers.cpp b/lib/helpers.cpp new file mode 100644 index 0000000..23cec2a --- /dev/null +++ b/lib/helpers.cpp @@ -0,0 +1,11 @@ +#include "helpers.h" + +namespace MyGrate { + static_assert(std::is_same_v, uint8_t>); + static_assert(std::is_same_v, uint8_t>); + static_assert(std::is_same_v, uint16_t>); + static_assert(std::is_same_v, uint16_t>); + static_assert(std::is_same_v, uint32_t>); + static_assert(std::is_same_v, uint32_t>); + static_assert(std::is_same_v, uint64_t>); +} -- cgit v1.2.3