Skip to content

Commit 19de481

Browse files
committed
Format
1 parent d7ddf77 commit 19de481

1 file changed

Lines changed: 4 additions & 4 deletions

File tree

lib/programmemory.cpp

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -215,9 +215,9 @@ void ProgramMemory::replace(ProgramMemory pm, bool skipUnknown)
215215
copyOnWrite();
216216

217217
for (auto&& p : (*pm.mValues)) {
218-
if(skipUnknown) {
218+
if (skipUnknown) {
219219
auto it = mValues->find(p.first);
220-
if(it != mValues->end() && it->second.isUninitValue())
220+
if (it != mValues->end() && it->second.isUninitValue())
221221
continue;
222222
}
223223
(*mValues)[p.first] = std::move(p.second);
@@ -497,8 +497,8 @@ static void addVars(ProgramMemory& pm, const ProgramMemory::Map& vars)
497497

498498
static void debugPrint(const ProgramMemory& pm)
499499
{
500-
for(auto&& p:pm) {
501-
if(p.first.tok)
500+
for (auto&& p : pm) {
501+
if (p.first.tok)
502502
std::cout << p.first->expressionString();
503503
else
504504
std::cout << p.first.exprid;

0 commit comments

Comments
 (0)