Skip to content

Commit 786263e

Browse files
committed
Fix build
1 parent 58aa664 commit 786263e

File tree

1 file changed

+3
-2
lines changed

1 file changed

+3
-2
lines changed

src/xtd.core/include/xtd/collections/generic/key_value_pair.hpp

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -2,14 +2,15 @@
22
/// @brief Contains xtd::collections::key_value_pair <key_t, value_t> struct.
33
/// @copyright Copyright (c) 2025 Gammasoft. All rights reserved.
44
#pragma once
5-
#include <utility>
65
#include "../../is.hpp"
76
#include "../../object.hpp"
87
#include "../../iequatable.hpp"
98
#include "../../static.hpp"
109
#define __XTD_CORE_INTERNAL__
1110
#include "../../internal/__key_value_pair_definition.hpp"
1211
#undef __XTD_CORE_INTERNAL__
12+
#include <utility>
13+
#include <tuple>
1314

1415
/// @brief The xtd namespace contains all fundamental classes to access Hardware, Os, System, and more.
1516
namespace xtd {
@@ -65,7 +66,7 @@ namespace xtd {
6566
/// @param first_args The tuple of constructor arguments to initialize the first element of this key_value_pair.
6667
/// @param second_args The tuple of constructor arguments to initialize the second element of this key_value_pair.
6768
template<class... args1_t, class... args2_t>
68-
key_value_pair(std::piecewise_construct_t, std::tuple<args1_t...> first_args, std::tuple<args1_t...> second_args) : first {first_args}, second {second_args} {}
69+
key_value_pair(std::piecewise_construct_t, std::tuple<args1_t...> first_args, std::tuple<args2_t...> second_args) : first {first_args}, second {second_args} {}
6970
/// @}
7071

7172
/// @name Public Properties

0 commit comments

Comments
 (0)