Commit be6b85a5b391cd8357c1a684abf314884cf04bf4
1 parent
fee0bdaa
Correct method name definitions.
Showing
1 changed file
with
4 additions
and
4 deletions
src/obs/GCaldb.cpp
| 1 | 1 | /*************************************************************************** |
| 2 | 2 | * GCaldb.cpp - Calibration database class * |
| 3 | 3 | * ----------------------------------------------------------------------- * |
| 4 | - * copyright (C) 2011-2014 by Juergen Knoedlseder * | |
| 4 | + * copyright (C) 2011-2015 by Juergen Knoedlseder * | |
| 5 | 5 | * ----------------------------------------------------------------------- * |
| 6 | 6 | * * |
| 7 | 7 | * This program is free software: you can redistribute it and/or modify * |
| ... | ... | @@ -37,8 +37,8 @@ |
| 37 | 37 | /* __ Method name definitions ____________________________________________ */ |
| 38 | 38 | #define G_GET_ROOTDIR "GCaldb::rootdir()" |
| 39 | 39 | #define G_SET_ROOTDIR "GCaldb::rootdir(std::string&)" |
| 40 | -#define G_PATH "GCaldb::path(std::string, std::string)" | |
| 41 | -#define G_CIF "GCaldb::cif(std::string, std::string)" | |
| 40 | +#define G_PATH "GCaldb::path(std::string&, std::string&)" | |
| 41 | +#define G_CIFNAME "GCaldb::cifname(std::string&, std::string&)" | |
| 42 | 42 | |
| 43 | 43 | /* __ Macros _____________________________________________________________ */ |
| 44 | 44 | |
| ... | ... | @@ -420,7 +420,7 @@ std::string GCaldb::cifname(const std::string& mission, const std::string& instr |
| 420 | 420 | |
| 421 | 421 | // Verify that CIF exists |
| 422 | 422 | if (access(cif.c_str(), F_OK) != 0) { |
| 423 | - throw GException::file_not_found(G_CIF, cif, | |
| 423 | + throw GException::file_not_found(G_CIFNAME, cif, | |
| 424 | 424 | "Calibration Index File (CIF) not found."); |
| 425 | 425 | } |
| 426 | 426 | ... | ... |