--- trunk/OOPSE-2.0/src/openbabel/generic.cpp 2005/11/16 19:42:11 2440 +++ trunk/OOPSE-2.0/src/openbabel/generic.cpp 2005/12/16 21:52:50 2518 @@ -960,7 +960,7 @@ bool OBChiralData::SetAtom4Refs(std::vector4) { - obErrorLog.ThrowError(__FUNCTION__, "More than 4 atoms in atom4refs", obDebug); + obErrorLog.ThrowError(__func__, "More than 4 atoms in atom4refs", obDebug); return(false); } switch(t){ @@ -968,7 +968,7 @@ bool OBChiralData::SetAtom4Refs(std::vector OBChiralData::GetAtom4Refs(a return(_atom4refc); break; default: - obErrorLog.ThrowError(__FUNCTION__, "AtomRefType called is invalid", obDebug); + obErrorLog.ThrowError(__func__, "AtomRefType called is invalid", obDebug); return(_atom4refo); } } @@ -1029,7 +1029,7 @@ unsigned int OBChiralData::GetSize(atomreftype t) cons case calcvolume: return(unsigned int)_atom4refc.size(); default: - obErrorLog.ThrowError(__FUNCTION__, "AtomRefType called is invalid", obDebug); + obErrorLog.ThrowError(__func__, "AtomRefType called is invalid", obDebug); return(0); } }