summaryrefslogtreecommitdiff
path: root/src/mgr/swlocale.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'src/mgr/swlocale.cpp')
-rw-r--r--src/mgr/swlocale.cpp8
1 files changed, 5 insertions, 3 deletions
diff --git a/src/mgr/swlocale.cpp b/src/mgr/swlocale.cpp
index b630383..8cf1e96 100644
--- a/src/mgr/swlocale.cpp
+++ b/src/mgr/swlocale.cpp
@@ -2,7 +2,7 @@
* swlocale.cpp - implementation of Class SWLocale used for retrieval
* of locale lookups
*
- * $Id: swlocale.cpp,v 1.3 2000/03/13 09:36:03 scribe Exp $
+ * $Id: swlocale.cpp,v 1.5 2002/10/01 19:52:40 dglassey Exp $
*
* Copyright 2000 CrossWire Bible Society (http://www.crosswire.org)
* CrossWire Bible Society
@@ -23,6 +23,7 @@
#include <swlocale.h>
#include <utilfuns.h>
+SWORD_NAMESPACE_START
SWLocale::SWLocale(const char * ifilename) {
ConfigEntMap::iterator confEntry;
@@ -93,9 +94,8 @@ const char *SWLocale::getDescription() {
}
-SWLocale &SWLocale::operator +=(SWLocale &addFrom) {
+void SWLocale::augment(SWLocale &addFrom) {
*localeSource += *addFrom.localeSource;
- return *this;
}
@@ -139,3 +139,5 @@ void SWLocale::getBooks(char **iBMAX, struct sbook ***ibooks) {
*iBMAX = BMAX;
*ibooks = books;
}
+
+SWORD_NAMESPACE_END