Skip to content

Commit 873b682

Browse files
committed
Add parentheses to avoid gcc warning.
1 parent dbfe80c commit 873b682

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

include/icubaby/icubaby.hpp

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1327,7 +1327,7 @@ template <ICUBABY_CONCEPT_UNICODE_CHAR_TYPE ToEncoding> class transcoder<std::by
13271327
case states::utf32_or_16_le_bom_byte1:
13281328
case states::utf32_or_16_be_bom_byte1:
13291329
case states::utf32_be_bom_byte2:
1330-
assert (this->get_byte_no () == 1 || this->get_byte_no () == 2 && "This must be byte #1 or #2");
1330+
assert ((this->get_byte_no () == 1 || this->get_byte_no () == 2) && "This must be byte #1 or #2");
13311331
buffer_[this->get_byte_no ()] = value;
13321332
if (value == this->bom_value ()) {
13331333
state_ = this->next_byte ();

0 commit comments

Comments
 (0)