Skip to content

Commit 3c7b4c9

Browse files
committed
Fix error in stubs
std::pair does not extend std::tuple.
1 parent 71055d3 commit 3c7b4c9

File tree

1 file changed

+1
-1
lines changed
  • cpp/common/test/includes/standard-library

1 file changed

+1
-1
lines changed

cpp/common/test/includes/standard-library/utility.h

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -12,7 +12,7 @@ template <class T> void swap(T &a, T &b) noexcept;
1212
// Forward declaration only - defined in <tuple>
1313
template <typename... T1> class tuple;
1414

15-
template <class T, class U> struct pair : tuple<T, U> {
15+
template <class T, class U> struct pair {
1616
T first;
1717
U second;
1818
pair(T t, U u);

0 commit comments

Comments
 (0)