Skip to content

Commit c57b41f

Browse files
committed
Add comment
1 parent 7b55579 commit c57b41f

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

lib/programmemory.cpp

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -482,7 +482,7 @@ void ProgramMemoryState::replace(ProgramMemory pm, const Token* origin)
482482
if (origin)
483483
for (const auto& p : pm)
484484
origins[p.first.getExpressionId()] = origin;
485-
state.replace(std::move(pm), true);
485+
state.replace(std::move(pm), /*skipUnknown*/ true);
486486
}
487487

488488
static void addVars(ProgramMemory& pm, const ProgramMemory::Map& vars)

0 commit comments

Comments
 (0)