diff --git a/include/lol/private/base/string.h b/include/lol/private/base/string.h index a3e15362..bba41136 100644 --- a/include/lol/private/base/string.h +++ b/include/lol/private/base/string.h @@ -1,8 +1,8 @@ // // Lol Engine // -// Copyright © 2010—2020 Sam Hocevar -// © 2013—2015 Benjamin “Touky” Huet +// Copyright © 2010–2023 Sam Hocevar +// © 2013–2015 Benjamin “Touky” Huet // // Lol Engine is free software. It comes without any warranty, to // the extent permitted by applicable law. You can redistribute it @@ -24,6 +24,7 @@ #include // std::vector #include // std::basic_string #include // std::transform +#include // std::back_inserter #include // va_list #include // size_t diff --git a/include/lol/private/math/functions.h b/include/lol/private/math/functions.h index dd330f92..2cf48e0f 100644 --- a/include/lol/private/math/functions.h +++ b/include/lol/private/math/functions.h @@ -1,7 +1,7 @@ // // Lol Engine // -// Copyright © 2010—2020 Sam Hocevar +// Copyright © 2010–2023 Sam Hocevar // // Lol Engine is free software. It comes without any warranty, to // the extent permitted by applicable law. You can redistribute it @@ -130,7 +130,7 @@ template } // Round up to next power of two -template +template [[nodiscard]] static inline T2 bit_ceil(T x) { #if defined __cpp_lib_int_pow2