@@ -216,7 +216,7 @@  public:
 	}
 */
 
-    bool operator<(AsnBufBits &rhs);
+    bool operator<(const AsnBufBits &rhs) const;
 
 	unsigned char MaskBits(unsigned char cCharToMask, int iBitsToMask);
 	unsigned long PutBits(const unsigned char* seg, unsigned long numBits);
@@ -627,7 +627,7 @@  unsigned char  AsnBufBits::MaskBits(unsigned char cCharToMask, int iBitsToMask)
 
 
 //RWC;TBD; FIX THIS TO WORK PROPERLY.....
-bool AsnBufBits::operator<(AsnBufBits &rhs)
+bool AsnBufBits::operator<(const AsnBufBits &rhs) const
 {
 	FUNC("AsnBufBits::operator<()");
 
 
  
The less-than comparison operator makes no modifications to the internal state of either the lhs or rhs of the expression. Signal this properly as a 'const' operation. Signed-off-by: Aaron Conole <aconole@bytheb.org> --- cxx-lib/inc/asn-buf.h | 2 +- cxx-lib/src/asn-bufbits.cpp | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-)