From b40bea67b76c4de4a280e81a6b01645ed22588bf Mon Sep 17 00:00:00 2001 From: fluxgen Date: Mon, 8 Dec 2003 17:29:24 +0000 Subject: const --- src/I18n.cc | 4 ++-- src/I18n.hh | 4 ++-- 2 files changed, 4 insertions(+), 4 deletions(-) diff --git a/src/I18n.cc b/src/I18n.cc index 3a01f94..c28e478 100644 --- a/src/I18n.cc +++ b/src/I18n.cc @@ -22,7 +22,7 @@ // FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER // DEALINGS IN THE SOFTWARE. -// $Id: I18n.cc,v 1.3 2003/08/26 23:53:49 fluxgen Exp $ +// $Id: I18n.cc,v 1.4 2003/12/08 17:29:24 fluxgen Exp $ //usr GNU extensions #ifndef _GNU_SOURCE @@ -125,7 +125,7 @@ void I18n::openCatalog(const char *catalog) { const char *I18n::getMessage(int set_number, int message_number, - const char *default_message) { + const char *default_message) const { #if defined(NLS) && defined(HAVE_CATGETS) if (m_catalog_fd != (nl_catd)-1) diff --git a/src/I18n.hh b/src/I18n.hh index 4397cd8..26292c5 100644 --- a/src/I18n.hh +++ b/src/I18n.hh @@ -22,7 +22,7 @@ // FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER // DEALINGS IN THE SOFTWARE. -// $Id: I18n.hh,v 1.1 2003/06/12 14:24:25 fluxgen Exp $ +// $Id: I18n.hh,v 1.2 2003/12/08 17:29:24 fluxgen Exp $ #ifndef I18N_HH #define I18N_HH @@ -54,7 +54,7 @@ public: inline const nl_catd &getCatalogFd() const { return m_catalog_fd; } const char *getMessage(int set_number, int message_number, - const char *default_messsage = 0); + const char *default_messsage = 0) const; void openCatalog(const char *catalog); private: I18n(); -- cgit v0.11.2