diff options
author | Ossama Othman <ossama-othman@users.noreply.github.com> | 2004-04-23 18:24:56 +0000 |
---|---|---|
committer | Ossama Othman <ossama-othman@users.noreply.github.com> | 2004-04-23 18:24:56 +0000 |
commit | 308a62ef161ae4192f80b05503d6b75fc4e3bee1 (patch) | |
tree | 3bdffc08995ae5e6353a8a42d729c64452e88d0c /ASNMP | |
parent | 49423ad9d7dc352198c10f45f880f44d76329b03 (diff) | |
download | ATCD-308a62ef161ae4192f80b05503d6b75fc4e3bee1.tar.gz |
ChangeLogTag:Fri Apr 23 11:23:21 2004 Ossama Othman <ossama@dre.vanderbilt.edu>
Diffstat (limited to 'ASNMP')
-rw-r--r-- | ASNMP/asnmp/ChangeLog | 6 | ||||
-rw-r--r-- | ASNMP/asnmp/oid.cpp | 12 |
2 files changed, 12 insertions, 6 deletions
diff --git a/ASNMP/asnmp/ChangeLog b/ASNMP/asnmp/ChangeLog index 9747ba4ad23..29c3bd70fa0 100644 --- a/ASNMP/asnmp/ChangeLog +++ b/ASNMP/asnmp/ChangeLog @@ -1,3 +1,9 @@ +Fri Apr 23 11:23:21 2004 Ossama Othman <ossama@dre.vanderbilt.edu> + + * oid.cpp: + + Missed some bool return types for equality operators. + Thu Apr 22 23:03:48 2004 Ossama Othman <ossama@dre.vanderbilt.edu> * address.cpp: diff --git a/ASNMP/asnmp/oid.cpp b/ASNMP/asnmp/oid.cpp index ffbcda7aa23..336bef90e15 100644 --- a/ASNMP/asnmp/oid.cpp +++ b/ASNMP/asnmp/oid.cpp @@ -268,7 +268,7 @@ Oid& Oid::operator+=( const char *a) return *this; } -//=============[ int operator == oid,oid ]================================= +//=============[ bool operator == oid,oid ]================================= // equivlence operator overloaded bool operator==( const Oid &lhs, const Oid &rhs) { @@ -281,14 +281,14 @@ bool operator==( const Oid &lhs, const Oid &rhs) return false; } -//==============[ operator!=( Oid &x,Oid &y) ]============================= +//==============[ bool operator!=( Oid &x,Oid &y) ]======================= //not equivlence operator overloaded bool operator!=( const Oid &lhs,const Oid &rhs) { return (!(lhs == rhs)); } -//==============[ operator<( Oid &x,Oid &y) ]============================= +//==============[ bool operator<( Oid &x,Oid &y) ]======================== // less than < overloaded bool operator<( const Oid &lhs,const Oid &rhs) { @@ -310,7 +310,7 @@ bool operator<( const Oid &lhs,const Oid &rhs) } } -//==============[ operator<=( Oid &x,Oid &y) ]============================= +//==============[ bool operator<=( Oid &x,Oid &y) ]======================= // less than <= overloaded bool operator<=( const Oid &x,const Oid &y) { @@ -320,7 +320,7 @@ bool operator<=( const Oid &x,const Oid &y) return false; } -//==============[ operator>( Oid &x,Oid &y) ]============================= +//==============[ bool operator>( Oid &x,Oid &y) ]======================== // greater than > overloaded bool operator>( const Oid &x,const Oid &y) { @@ -331,7 +331,7 @@ bool operator>( const Oid &x,const Oid &y) return false; } -//==============[ operator>=( Oid &x,Oid &y) ]============================= +//==============[ bool operator>=( Oid &x,Oid &y) ]======================= // greater than >= overloaded bool operator>=( const Oid &x,const Oid &y) { |