Skip to content

Commit

Permalink
Cast anonymous enum to avoid instantiating Boost.Range operators
Browse files Browse the repository at this point in the history
  • Loading branch information
K-ballo committed Jul 10, 2014
1 parent 239ff77 commit e6aadc7
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -357,7 +357,7 @@ class basic_state_machine
{
const std::size_t col_ = lu_->at (alpha_index_);

if (col_ != dead_state_index)
if (col_ != static_cast<std::size_t>(dead_state_index))
{
chars_[col_ - dfa_offset] += static_cast<CharT>
(alpha_index_);
Expand Down

0 comments on commit e6aadc7

Please sign in to comment.