xo-tokenizer: fix: missing return statement

This commit is contained in:
Roland Conybeare 2024-08-05 14:51:47 -04:00
commit 5ed786adc0

View file

@ -69,7 +69,7 @@ namespace xo {
/** true if tokenizer contains stored prefix of
* possibly-incomplete token
**/
bool has_prefix() const { !prefix_.empty(); }
bool has_prefix() const { return !prefix_.empty(); }
/** assemble token from text @p token_text
**/