From e7270a123c8d96db1f32d94ee35bd1da3f236bec Mon Sep 17 00:00:00 2001 From: Thomas Fischer <thomas.fischer@ufz.de> Date: Fri, 22 Jan 2016 11:37:57 +0100 Subject: [PATCH] [A/U/ME] AddTopLayer: Use LogogSetup class. --- Applications/Utils/MeshEdit/AddTopLayer.cpp | 10 ++-------- 1 file changed, 2 insertions(+), 8 deletions(-) diff --git a/Applications/Utils/MeshEdit/AddTopLayer.cpp b/Applications/Utils/MeshEdit/AddTopLayer.cpp index 9500490a263..f0d7cb482d6 100644 --- a/Applications/Utils/MeshEdit/AddTopLayer.cpp +++ b/Applications/Utils/MeshEdit/AddTopLayer.cpp @@ -14,11 +14,8 @@ // TCLAP #include "tclap/CmdLine.h" -// ThirdParty/logog -#include "logog/include/logog.hpp" +#include "Applications/ApplicationsLib/LogogSetup.h" -// BaseLib -#include "BaseLib/LogogSimpleFormatter.h" #include "BaseLib/FileTools.h" // FileIO @@ -32,10 +29,7 @@ int main (int argc, char* argv[]) { - LOGOG_INITIALIZE(); - logog::Cout* logog_cout (new logog::Cout); - BaseLib::LogogSimpleFormatter *custom_format (new BaseLib::LogogSimpleFormatter); - logog_cout->SetFormatter(*custom_format); + ApplicationsLib::LogogSetup logog_setup; TCLAP::CmdLine cmd( "Adds a top layer to an existing mesh", -- GitLab