ViewVC Help
View File | Revision Log | Show Annotations | View Changeset | Root Listing
root/OpenMD/trunk/src/openbabel/bitvec.cpp
(Generate patch)

Comparing trunk/src/openbabel/bitvec.cpp (file contents):
Revision 818 by tim, Wed Nov 16 19:42:11 2005 UTC vs.
Revision 819 by tim, Fri Dec 16 21:52:50 2005 UTC

# Line 292 | Line 292 | OBBitVec &OBBitVec::operator-= (OBBitVec &bv)
292   OBBitVec &OBBitVec::operator-= (OBBitVec &bv)
293   {
294      if (GetSize() != bv._size)
295 <      obErrorLog.ThrowError(__FUNCTION__, "Subtracting sets of != size", obDebug);
295 >      obErrorLog.ThrowError(__func__, "Subtracting sets of != size", obDebug);
296      else
297      {
298          OBBitVec tmp;
# Line 398 | Line 398 | istream& operator>> ( istream &is, OBBitVec &bv )
398                      strstream errorMsg;
399   #endif
400              errorMsg << "Negative Bit: " << bit << endl;
401 <            obErrorLog.ThrowError(__FUNCTION__, errorMsg.str(), obDebug);
401 >            obErrorLog.ThrowError(__func__, errorMsg.str(), obDebug);
402            }
403      }
404  
# Line 497 | Line 497 | void OBBitVec::FromString(string &line, int bits)
497              strstream errorMsg;
498   #endif
499              errorMsg << "Negative Bit: " << bit << endl;
500 <            obErrorLog.ThrowError(__FUNCTION__, errorMsg.str(), obDebug);
500 >            obErrorLog.ThrowError(__func__, errorMsg.str(), obDebug);
501            }
502      }
503   }

Diff Legend

Removed lines
+ Added lines
< Changed lines
> Changed lines