From 0e1271599dcb9f91952657e90ea8901dd5520cae Mon Sep 17 00:00:00 2001 From: Mikko Rasa Date: Mon, 25 Jul 2011 17:24:22 +0300 Subject: [PATCH] Update the tool to use the new RegisteredApplication class --- tool/tool.cpp | 2 -- tool/tool.h | 4 +--- 2 files changed, 1 insertion(+), 5 deletions(-) diff --git a/tool/tool.cpp b/tool/tool.cpp index 570d85b..4e66087 100644 --- a/tool/tool.cpp +++ b/tool/tool.cpp @@ -76,5 +76,3 @@ int DataTool::main() return 0; } - -Application::RegApp DataTool::reg; diff --git a/tool/tool.h b/tool/tool.h index d10dc7d..a43fbfb 100644 --- a/tool/tool.h +++ b/tool/tool.h @@ -4,7 +4,7 @@ #include #include -class DataTool: public Msp::Application +class DataTool: public Msp::RegisteredApplication { private: std::string in_fn; @@ -15,8 +15,6 @@ private: public: DataTool(int argc, char **argv); int main(); - - static Application::RegApp reg; }; #endif -- 2.43.0