[sword-cvs] sword/include swbuf.h,1.19,1.20

sword@www.crosswire.org sword@www.crosswire.org
Wed, 16 Jul 2003 17:30:36 -0700


Update of /usr/local/cvsroot/sword/include
In directory www:/tmp/cvs-serv24426/include

Modified Files:
	swbuf.h 
Log Message:


Index: swbuf.h
===================================================================
RCS file: /usr/local/cvsroot/sword/include/swbuf.h,v
retrieving revision 1.19
retrieving revision 1.20
diff -u -d -r1.19 -r1.20
--- swbuf.h	16 Jul 2003 12:26:09 -0000	1.19
+++ swbuf.h	17 Jul 2003 00:30:34 -0000	1.20
@@ -193,7 +193,7 @@
 	}
 	inline SWBuf operator +(char ch) const { return (*this) + SWBuf(ch); }
 
-	int compare(const SWBuf &other) const { return strcmp(c_str(), other.c_str()); }
+	inline int compare(const SWBuf &other) const { return strcmp(c_str(), other.c_str()); }
 	inline bool operator ==(const SWBuf &other) const { return !compare(other); }
 	inline bool operator !=(const SWBuf &other) const { return compare(other); }
 	inline bool operator > (const SWBuf &other) const { return compare(other) > 0; }