[sword-cvs] sword/include multimapwdef.h,1.8,1.9

sword at www.crosswire.org sword at www.crosswire.org
Tue May 4 14:01:41 MST 2004


Update of /cvs/core/sword/include
In directory www:/tmp/cvs-serv9139/include

Modified Files:
	multimapwdef.h 
Log Message:
gcc 3.4 fix

Index: multimapwdef.h
===================================================================
RCS file: /cvs/core/sword/include/multimapwdef.h,v
retrieving revision 1.8
retrieving revision 1.9
diff -u -d -r1.8 -r1.9
--- multimapwdef.h	1 Oct 2002 22:04:58 -0000	1.8
+++ multimapwdef.h	4 May 2004 21:01:39 -0000	1.9
@@ -12,14 +12,14 @@
 public:
 	typedef std::pair<const Key, T> value_type;
 	T& getWithDefault(const Key& k, const T& defaultValue) {
-		if (find(k) == end()) {
+		if (find(k) == this->end()) {
 			insert(value_type(k, defaultValue));
 		}
 		return (*(find(k))).second;
 	}
 
 	T& operator[](const Key& k) {
-		if (find(k) == end()) {
+		if (find(k) == this->end()) {
 			insert(value_type(k, T()));
 		}
 		return (*(find(k))).second;




More information about the sword-cvs mailing list