Skip to content

Commit fd27d8a

Browse files
author
Daniel Kroening
authored
Merge pull request #3376 from tautschnig/vs-shadow-1
Do not shadow parameter is_virtual [blocks: #2310]
2 parents 7522b7b + e25e0b3 commit fd27d8a

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

src/cpp/cpp_typecheck_bases.cpp

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -155,7 +155,7 @@ void cpp_typecheckt::add_base_components(
155155

156156
const symbolt &symb = lookup(b.type());
157157

158-
const bool is_virtual = b.get_bool(ID_virtual);
158+
const bool is_virtual_base = b.get_bool(ID_virtual);
159159

160160
// recursive call
161161
add_base_components(
@@ -164,7 +164,7 @@ void cpp_typecheckt::add_base_components(
164164
to,
165165
bases,
166166
vbases,
167-
is_virtual);
167+
is_virtual_base);
168168
}
169169

170170
// add the components

0 commit comments

Comments
 (0)