Skip to content

Commit dbfe80c

Browse files
authored
Add a default class to the byte transcoder state switch. (#298)
1 parent 449fb43 commit dbfe80c

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

include/icubaby/icubaby.hpp

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1376,6 +1376,8 @@ template <ICUBABY_CONCEPT_UNICODE_CHAR_TYPE ToEncoding> class transcoder<std::by
13761376

13771377
case states::run_32be_byte3:
13781378
case states::run_32le_byte3: dest = this->run32 (value, dest); break;
1379+
1380+
default: assert (false && "Unknown byte transcoder state");
13791381
}
13801382
return dest;
13811383
}

0 commit comments

Comments
 (0)