From f50d6dc5a49151eca4c5f97d9c990599f099f6bf Mon Sep 17 00:00:00 2001 From: knodlseder <> Date: Wed, 21 Jul 2010 21:50:26 +0000 Subject: [PATCH] add void constructor (for python interface) and change APP_ to CTSELECT_ --- src/ctselect/ctselect.hpp | 10 ++++++---- 1 file changed, 6 insertions(+), 4 deletions(-) diff --git a/src/ctselect/ctselect.hpp b/src/ctselect/ctselect.hpp index b22cea2..078765d 100644 --- a/src/ctselect/ctselect.hpp +++ b/src/ctselect/ctselect.hpp @@ -23,8 +23,8 @@ #include "GammaLib.hpp" /* __Definitions _________________________________________________________ */ -#define APP_NAME "ctselect" -#define APP_VERSION "v1r0p0" +#define CTSELECT_NAME "ctselect" +#define CTSELECT_VERSION "v1r0p0" /***********************************************************************//** @@ -35,8 +35,10 @@ class ctselect : public GApplication { public: // Constructors and destructors - ctselect(int argc, char *argv[]) : - GApplication(APP_NAME, APP_VERSION, argc, argv) { return; } + ctselect(void) : + GApplication(CTSELECT_NAME, CTSELECT_VERSION) { return; } + ctselect(int argc, char *argv[]) : + GApplication(CTSELECT_NAME, CTSELECT_VERSION, argc, argv) { return; } // Methods int run(void); -- libgit2 0.21.4