aboutsummaryrefslogtreecommitdiff
path: root/src/fbasicstring.h
diff options
context:
space:
mode:
authorMike Buland <eichlan@xagasoft.com>2009-06-15 15:01:04 +0000
committerMike Buland <eichlan@xagasoft.com>2009-06-15 15:01:04 +0000
commit04b68c8517d60045acdbf041d8ebf02dcfccca09 (patch)
treebb6257298d03a3530d0403993578f031b646dbc6 /src/fbasicstring.h
parentbf6e853195e7fa540716d5e92eb8873a0a7eb7e2 (diff)
downloadlibbu++-04b68c8517d60045acdbf041d8ebf02dcfccca09.tar.gz
libbu++-04b68c8517d60045acdbf041d8ebf02dcfccca09.tar.bz2
libbu++-04b68c8517d60045acdbf041d8ebf02dcfccca09.tar.xz
libbu++-04b68c8517d60045acdbf041d8ebf02dcfccca09.zip
Changed a couple of comparison functions to const.
Diffstat (limited to 'src/fbasicstring.h')
-rw-r--r--src/fbasicstring.h4
1 files 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
1375 return (pFirst != NULL); 1375 return (pFirst != NULL);
1376 } 1376 }
1377 1377
1378 bool compareSub( const chr *pData, long nIndex, long nLen ) 1378 bool compareSub( const chr *pData, long nIndex, long nLen ) const
1379 { 1379 {
1380 if( pFirst == NULL ) { 1380 if( pFirst == NULL ) {
1381 if( pData == NULL ) 1381 if( pData == NULL )
@@ -1402,7 +1402,7 @@ namespace Bu
1402 return true; 1402 return true;
1403 } 1403 }
1404 1404
1405 bool compareSub( const MyType &rData, long nIndex, long nLen ) 1405 bool compareSub( const MyType &rData, long nIndex, long nLen ) const
1406 { 1406 {
1407 if( pFirst == NULL || rData.pFirst == NULL ) 1407 if( pFirst == NULL || rData.pFirst == NULL )
1408 return false; 1408 return false;