From c514818b657a104ec8c40b0356b498c01811b2f0 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Daniel=20Marjam=C3=A4ki?= Date: Fri, 21 Feb 2020 16:18:41 +0100 Subject: [PATCH] astyle formatting [ci skip] --- lib/programmemory.cpp | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/lib/programmemory.cpp b/lib/programmemory.cpp index 478d85be7..770cfd0e1 100644 --- a/lib/programmemory.cpp +++ b/lib/programmemory.cpp @@ -247,16 +247,16 @@ static ProgramMemory getInitialProgramState(const Token* tok, void ProgramMemoryState::insert(const ProgramMemory &pm, const Token* origin) { - if(origin) - for(auto&& p:pm.values) + if (origin) + for (auto&& p:pm.values) origins.insert(std::make_pair(p.first, origin)); state.insert(pm); } void ProgramMemoryState::replace(const ProgramMemory &pm, const Token* origin) { - if(origin) - for(auto&& p:pm.values) + if (origin) + for (auto&& p:pm.values) origins[p.first] = origin; state.replace(pm); }