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

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

# Line 66 | Line 66 | class OBMoleculeFormat : public OBFormat (public)
66                      std::string auditMsg = "OpenBabel::Read molecule ";
67                      std::string description(Description());
68                      auditMsg += description.substr(0,description.find('\n'));
69 <                    obErrorLog.ThrowError(__FUNCTION__,
69 >                    obErrorLog.ThrowError(__func__,
70                                            auditMsg,
71                                            obAuditMsg);
72  
# Line 96 | Line 96 | class OBMoleculeFormat : public OBFormat (public)
96                                  std::string auditMsg = "OpenBabel::Molecule ";
97                                  auditMsg += pmol->GetTitle();
98                                  auditMsg += " has 0 atoms";
99 <                                obErrorLog.ThrowError(__FUNCTION__,
99 >                                obErrorLog.ThrowError(__func__,
100                                                  auditMsg,
101                                                  obInfo);
102                          }
# Line 105 | Line 105 | class OBMoleculeFormat : public OBFormat (public)
105                          std::string auditMsg = "OpenBabel::Write molecule ";
106                          std::string description(Description());
107                          auditMsg += description.substr(0,description.find('\n'));
108 <                        obErrorLog.ThrowError(__FUNCTION__,
108 >                        obErrorLog.ThrowError(__func__,
109                                                auditMsg,
110                                                obAuditMsg);
111  

Diff Legend

Removed lines
+ Added lines
< Changed lines
> Changed lines