summaryrefslogtreecommitdiff
path: root/frontends
diff options
context:
space:
mode:
Diffstat (limited to 'frontends')
-rw-r--r--frontends/verilog/preproc.cc2
1 files changed, 1 insertions, 1 deletions
diff --git a/frontends/verilog/preproc.cc b/frontends/verilog/preproc.cc
index 9f824526..8d435d94 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());