diff options
author | Marcelo Lira <marcelo.lira@openbossa.org> | 2011-08-01 00:03:07 -0300 |
---|---|---|
committer | Hugo Parente Lima <hugo.pl@gmail.com> | 2012-03-08 16:17:07 -0300 |
commit | bb95046f7cb7a06e52bc5e6f3cb9eff4271ecbf0 (patch) | |
tree | 5632dba96a18a3212a42cf5675db58dd53944ecd /generator/shibokengenerator.cpp | |
parent | 967961a9d3e96854d256206bb813ab3bde4409c3 (diff) |
Revamped the virtual method writer.
It's way less messy now, and uses writeTypeCheck() as it should have
been doing from the beginning.
Diffstat (limited to 'generator/shibokengenerator.cpp')
-rw-r--r-- | generator/shibokengenerator.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/generator/shibokengenerator.cpp b/generator/shibokengenerator.cpp index 461558bfd..269b3160a 100644 --- a/generator/shibokengenerator.cpp +++ b/generator/shibokengenerator.cpp @@ -1376,7 +1376,7 @@ void ShibokenGenerator::writeCodeSnips(QTextStream& s, // replace variable %PYTHON_METHOD_OVERRIDE for a pointer to the Python method // override for the C++ virtual method in which this piece of code was inserted - code.replace("%PYTHON_METHOD_OVERRIDE", "py_override"); + code.replace("%PYTHON_METHOD_OVERRIDE", PYTHON_OVERRIDE_VAR); } if (avoidProtectedHack()) { |