From 09bbb7f8b3f83c1ec2d0ce8b3129544895449eee Mon Sep 17 00:00:00 2001 From: Clang Robot Date: Thu, 12 Oct 2023 09:09:35 +0000 Subject: [PATCH] Committing clang-format changes --- UserTools/Factory/Factory.cpp | 9 +++++---- 1 file changed, 5 insertions(+), 4 deletions(-) diff --git a/UserTools/Factory/Factory.cpp b/UserTools/Factory/Factory.cpp index eb8e90d..c337aa4 100644 --- a/UserTools/Factory/Factory.cpp +++ b/UserTools/Factory/Factory.cpp @@ -1,9 +1,10 @@ #include "Factory.h" Tool* Factory(std::string tool) { -Tool* ret=0; + Tool* ret = 0; -// if (tool=="Type") tool=new Type; -if (tool=="DummyTool") ret=new DummyTool; -return ret; + // if (tool=="Type") tool=new Type; + if(tool == "DummyTool") + ret = new DummyTool; + return ret; }