Skip to content

Commit af9e2d7

Browse files
authored
Merge pull request #1894 from evoskuil/master
Rename tuple/tuples to tuple_t/tuples_t.
2 parents abbfb37 + 49369fa commit af9e2d7

1 file changed

Lines changed: 3 additions & 2 deletions

File tree

include/bitcoin/system/chain/threshold.hpp

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -45,7 +45,7 @@ struct threshold
4545
between
4646
};
4747

48-
struct tuple
48+
struct tuple_t
4949
{
5050
/// Digest is created in the sigop (sigop scope - must copy).
5151
hash_digest digest;
@@ -56,6 +56,7 @@ struct threshold
5656
/// Signature is a stack element (script scope - use reference).
5757
cref<ec_signature> sig;
5858
};
59+
using tuples_t = std::vector<tuple_t>;
5960

6061
/// Convert opcode to category.
6162
static constexpr category_t to_category(opcode code) NOEXCEPT
@@ -95,7 +96,7 @@ struct threshold
9596
return tuples.size() == expected;
9697
}
9798

98-
std::vector<tuple> tuples{};
99+
tuples_t tuples{};
99100
category_t category{};
100101
uint16_t minimum{};
101102
uint16_t maximum{};

0 commit comments

Comments
 (0)