diff options
author | Marcelo Lira <marcelo.lira@openbossa.org> | 2010-12-15 18:28:27 -0300 |
---|---|---|
committer | Hugo Parente Lima <hugo.pl@gmail.com> | 2012-03-08 16:12:49 -0300 |
commit | 39069c1571e3fe2705b4dcb6f58d3b1e50a42911 (patch) | |
tree | bb7cbb556e5857e4234adf2724f8c81c99b0cabd | |
parent | a1a0138fa385d2f73a991624b77a7a1ab03d5b97 (diff) |
Fixed typo on generated error message.
-rw-r--r-- | generator/cppgenerator.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/generator/cppgenerator.cpp b/generator/cppgenerator.cpp index 5220d15f8..ecd054c28 100644 --- a/generator/cppgenerator.cpp +++ b/generator/cppgenerator.cpp @@ -758,7 +758,7 @@ void CppGenerator::writeVirtualMethodNative(QTextStream &s, const AbstractMetaFu s << INDENT << "if (" << PYTHON_RETURN_VAR << "->ob_refcnt < 2) {" << endl; { Indentation indent(INDENT); - s << INDENT << "PyErr_SetString(PyExc_ReferenceError, \"Returning last python reference on virutal function: " + s << INDENT << "PyErr_SetString(PyExc_ReferenceError, \"Returning last python reference on virtual function: " << func->ownerClass()->name() << "." << func->name() << "\");" << endl; s << INDENT << "PyErr_Print();" << endl; s << INDENT << "assert(false);" << endl; |