Commit cf853cd845f5f2c402606dc0f495fbe175922923
1 parent
a39a0727
correct method names
Showing
1 changed file
with
3 additions
and
3 deletions
src/app/GPar.cpp
| ... | ... | @@ -40,8 +40,8 @@ |
| 40 | 40 | #define G_STRING_SET "GPar::string(std::string&)" |
| 41 | 41 | #define G_FILENAME_SET "GPar::filename(std::string&)" |
| 42 | 42 | #define G_BOOLEAN_SET "GPar::boolean(bool&)" |
| 43 | -#define G_INTEGER_SET "GPar::integer(bool&)" | |
| 44 | -#define G_REAL_SET "GPar::real(bool&)" | |
| 43 | +#define G_INTEGER_SET "GPar::integer(int&)" | |
| 44 | +#define G_REAL_SET "GPar::real(double&)" | |
| 45 | 45 | #define G_STRING_GET "GPar::string()" |
| 46 | 46 | #define G_FILENAME_GET "GPar::filename()" |
| 47 | 47 | #define G_BOOLEAN_GET "GPar::boolean()" |
| ... | ... | @@ -348,7 +348,7 @@ void GPar::boolean(const bool& value) |
| 348 | 348 | ***************************************************************************/ |
| 349 | 349 | void GPar::integer(const int& value) |
| 350 | 350 | { |
| 351 | - // Check if parameter is boolean | |
| 351 | + // Check if parameter is integer | |
| 352 | 352 | if (m_type != "i") |
| 353 | 353 | throw GException::par_error(G_INTEGER_SET, name(), |
| 354 | 354 | "attempted to set "+gpar_type_string(m_type)+ | ... | ... |