/[ghosts]/ghosts/gedcomparser/src/patterns/SmartPtr.hh
ViewVC logotype

Diff of /ghosts/gedcomparser/src/patterns/SmartPtr.hh

Parent Directory Parent Directory | Revision Log Revision Log | View Patch Patch

revision 1.2 by cpcp, Mon Sep 23 13:36:56 2002 UTC revision 1.3 by cpcp, Sun Feb 9 19:58:07 2003 UTC
# Line 106  public: Line 106  public:
106      {      {
107        bool res;        bool res;
108        res = false;        res = false;
109        if (lhs.Null() && rsh.Null())        if ((lhs.Null()) && (rhs.Null()))
110          {          {
111            res = true;            res = true;
112          }          }
113        else        else
114          {          {
115            if (lhs.Null() || rsh.Null())            if ((lhs.Null()) || (rhs.Null()))
116              {              {
117                res = false;                res = false;
118              }              }
119            else            else
120              {              {
121                res = (*(lhs._counted->_t)) == (*(rhs._counted->_t));                res = (lhs._counted->_t == rhs._counted->_t);
122              }              }
123          }          }
124        return res;        return res;

Legend:
Removed from v.1.2  
changed lines
  Added in v.1.3

savannah-hackers-public@gnu.org
ViewVC Help
Powered by ViewVC 1.1.26