diff options
Diffstat (limited to 'frontends/verilog/preproc.cc')
-rw-r--r-- | frontends/verilog/preproc.cc | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/frontends/verilog/preproc.cc b/frontends/verilog/preproc.cc index 9f824526a..8d435d940 100644 --- a/frontends/verilog/preproc.cc +++ b/frontends/verilog/preproc.cc @@ -62,7 +62,7 @@ static void insert_input(std::string str) static char next_char() { - if (input_buffer.size() == 0) + if (input_buffer.empty()) return 0; assert(input_buffer_charp <= input_buffer.front().size()); |