Skip to content

Commit c740455

Browse files
committed
Fix compilation
1 parent 02b90cf commit c740455

File tree

3 files changed

+2
-4
lines changed

3 files changed

+2
-4
lines changed

CMakeLists.txt

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
cmake_minimum_required(VERSION 3.24)
1+
cmake_minimum_required(VERSION 3.22)
22
# If operating system for which CMake to build is Windows set SDK version to 10
33
set(CMAKE_SYSTEM_VERSION 10.0)
44

interface/core/containers/compressed_tuple.h

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -916,7 +916,7 @@ namespace hud
916916
[[nodiscard]] constexpr auto &&piecewise_get(hud::compressed_tuple<types_t...> &&t) noexcept
917917
{
918918
using type_t = tuple_element_t<idx_to_reach, hud::compressed_tuple<types_t...>>;
919-
return static_cast<type_t &&>(static_cast<details::compressed_tuple::tuple_leaf_select<idx_to_reach, type_t>::type &>(t).content);
919+
return static_cast<type_t &&>(static_cast<typename details::compressed_tuple::tuple_leaf_select<idx_to_reach, type_t>::type &>(t).content);
920920
}
921921

922922
/**

interface/core/containers/tuple.h

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -336,7 +336,6 @@ namespace hud
336336
* @param to The assigned tuple
337337
* @param from The tuple to assign
338338
*/
339-
template<typename... types_t, typename... u_types_t>
340339
constexpr void operator()([[maybe_unused]] tuple_to_type &to, [[maybe_unused]] const tuple_from_type &from) noexcept
341340
{
342341
static_assert(hud::tuple_size_v<tuple_to_type> == hud::tuple_size_v<tuple_from_type>, "Assigning tuples of different size is not supported");
@@ -355,7 +354,6 @@ namespace hud
355354
* @param to The assigned tuple
356355
* @param from The tuple to assign
357356
*/
358-
template<typename... types_t, typename... u_types_t>
359357
constexpr void operator()([[maybe_unused]] tuple_to_type &to, [[maybe_unused]] tuple_from_type &&from) noexcept
360358
{
361359
static_assert(hud::tuple_size_v<tuple_to_type> == hud::tuple_size_v<tuple_from_type>, "Assigning tuples of different size is not supported");

0 commit comments

Comments
 (0)