Skip to content

Commit d2d1408

Browse files
committed
Style (NO_ARRAY_INDEXING).
1 parent ddcb2cf commit d2d1408

1 file changed

Lines changed: 2 additions & 0 deletions

File tree

src/chain/output.cpp

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -31,6 +31,7 @@ namespace system {
3131
namespace chain {
3232

3333
BC_PUSH_WARNING(NO_THROW_IN_NOEXCEPT)
34+
BC_PUSH_WARNING(NO_ARRAY_INDEXING)
3435

3536
// This is a consensus critical value that must be set on reset.
3637
const uint64_t output::not_found = sighash_null_value;
@@ -218,6 +219,7 @@ bool output::is_dust(uint64_t minimum_value) const NOEXCEPT
218219
return value_ < minimum_value && !script_->is_unspendable();
219220
}
220221

222+
BC_POP_WARNING()
221223
BC_POP_WARNING()
222224

223225
// JSON value convertors.

0 commit comments

Comments
 (0)