From 437ab7506838362696974599eb77299cd1987d98 Mon Sep 17 00:00:00 2001 From: Michele Caini Date: Sun, 9 May 2021 23:47:11 +0200 Subject: [PATCH] make internal::counter static inline --- src/uvw/type_info.hpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/uvw/type_info.hpp b/src/uvw/type_info.hpp index 39a9d958..b8a0b5ce 100644 --- a/src/uvw/type_info.hpp +++ b/src/uvw/type_info.hpp @@ -32,7 +32,7 @@ namespace internal { } -[[nodiscard]] static std::uint32_t counter() noexcept { +[[nodiscard]] static inline std::uint32_t counter() noexcept { static std::uint32_t cnt{}; return cnt++; }