From daddb622ccfb05ff0312e0871025a79dd2cf4c4e Mon Sep 17 00:00:00 2001 From: Tobias Markus Date: Fri, 29 Dec 2023 21:09:33 +0100 Subject: [PATCH] Code style fixes in infoblock.cpp --- src/object/infoblock.cpp | 12 ++++++------ 1 file changed, 6 insertions(+), 6 deletions(-) diff --git a/src/object/infoblock.cpp b/src/object/infoblock.cpp index d73cf9e42d8..cbca086257e 100644 --- a/src/object/infoblock.cpp +++ b/src/object/infoblock.cpp @@ -43,15 +43,15 @@ InfoBlock::InfoBlock(const ReaderMapping& mapping) : { log_warning << "No message in InfoBlock" << std::endl; } - std::vector m_frontcolor_; - if (mapping.get("frontcolor", m_frontcolor_)) + std::vector front_color; + if (mapping.get("frontcolor", front_color)) { - m_frontcolor = Color(m_frontcolor_); + m_frontcolor = Color(front_color); } - std::vector m_backcolor_; - if (mapping.get("backcolor", m_backcolor_)) + std::vector back_color; + if (mapping.get("backcolor", back_color)) { - m_backcolor = Color(m_backcolor_); + m_backcolor = Color(back_color); } mapping.get("roundness", m_roundness, 0.f); mapping.get("fadetransition", m_fadetransition, true);