@@ -115,8 +115,10 @@ class Statement : public ManagedObject<CassStatement> {
115115 using UintByteTupleType = std::tuple<uint32_t , ripple::uint256>;
116116 using ByteVectorType = std::vector<ripple::uint256>;
117117
118- if constexpr (std::is_same_v<DecayedType, ripple::uint256> ||
119- std::is_same_v<DecayedType, ripple::uint192>) {
118+ if constexpr (
119+ std::is_same_v<DecayedType, ripple::uint256> ||
120+ std::is_same_v<DecayedType, ripple::uint192>
121+ ) {
120122 auto const rc = bindBytes (value.data (), value.size ());
121123 throwErrorIfNeeded (rc, " Bind ripple::base_uint" );
122124 } else if constexpr (std::is_same_v<DecayedType, ripple::AccountID>) {
@@ -134,8 +136,10 @@ class Statement : public ManagedObject<CassStatement> {
134136 auto const rc =
135137 cass_statement_bind_string_n (*this , idx, value.text .c_str (), value.text .size ());
136138 throwErrorIfNeeded (rc, " Bind string (as TEXT)" );
137- } else if constexpr (std::is_same_v<DecayedType, UintTupleType> ||
138- std::is_same_v<DecayedType, UintByteTupleType>) {
139+ } else if constexpr (
140+ std::is_same_v<DecayedType, UintTupleType> ||
141+ std::is_same_v<DecayedType, UintByteTupleType>
142+ ) {
139143 auto const rc = cass_statement_bind_tuple (*this , idx, Tuple{std::forward<Type>(value)});
140144 throwErrorIfNeeded (rc, " Bind tuple<uint32, uint32> or <uint32_t, ripple::uint256>" );
141145 } else if constexpr (std::is_same_v<DecayedType, ByteVectorType>) {
0 commit comments