From cf853cd845f5f2c402606dc0f495fbe175922923 Mon Sep 17 00:00:00 2001 From: knodlseder <> Date: Wed, 10 Aug 2011 06:30:42 +0000 Subject: [PATCH] correct method names --- src/app/GPar.cpp | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/src/app/GPar.cpp b/src/app/GPar.cpp index e4e8946..78f3571 100644 --- a/src/app/GPar.cpp +++ b/src/app/GPar.cpp @@ -40,8 +40,8 @@ #define G_STRING_SET "GPar::string(std::string&)" #define G_FILENAME_SET "GPar::filename(std::string&)" #define G_BOOLEAN_SET "GPar::boolean(bool&)" -#define G_INTEGER_SET "GPar::integer(bool&)" -#define G_REAL_SET "GPar::real(bool&)" +#define G_INTEGER_SET "GPar::integer(int&)" +#define G_REAL_SET "GPar::real(double&)" #define G_STRING_GET "GPar::string()" #define G_FILENAME_GET "GPar::filename()" #define G_BOOLEAN_GET "GPar::boolean()" @@ -348,7 +348,7 @@ void GPar::boolean(const bool& value) ***************************************************************************/ void GPar::integer(const int& value) { - // Check if parameter is boolean + // Check if parameter is integer if (m_type != "i") throw GException::par_error(G_INTEGER_SET, name(), "attempted to set "+gpar_type_string(m_type)+ -- libgit2 0.21.4