From 04b68c8517d60045acdbf041d8ebf02dcfccca09 Mon Sep 17 00:00:00 2001 From: Mike Buland Date: Mon, 15 Jun 2009 15:01:04 +0000 Subject: Changed a couple of comparison functions to const. --- src/fbasicstring.h | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/fbasicstring.h b/src/fbasicstring.h index 6a1708d..3f12946 100644 --- a/src/fbasicstring.h +++ b/src/fbasicstring.h @@ -1375,7 +1375,7 @@ namespace Bu return (pFirst != NULL); } - bool compareSub( const chr *pData, long nIndex, long nLen ) + bool compareSub( const chr *pData, long nIndex, long nLen ) const { if( pFirst == NULL ) { if( pData == NULL ) @@ -1402,7 +1402,7 @@ namespace Bu return true; } - bool compareSub( const MyType &rData, long nIndex, long nLen ) + bool compareSub( const MyType &rData, long nIndex, long nLen ) const { if( pFirst == NULL || rData.pFirst == NULL ) return false; -- cgit v1.2.3