Skip to content

Commit

Permalink
Committing clang-format changes
Browse files Browse the repository at this point in the history
  • Loading branch information
Clang Robot committed Oct 12, 2023
1 parent b657e22 commit 09bbb7f
Showing 1 changed file with 5 additions and 4 deletions.
9 changes: 5 additions & 4 deletions UserTools/Factory/Factory.cpp
Original file line number Diff line number Diff line change
@@ -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;
}

0 comments on commit 09bbb7f

Please sign in to comment.