diff options
author | Renato Araujo Oliveira Filho <renato.filho@openbossa.org> | 2009-09-09 15:16:41 -0300 |
---|---|---|
committer | Hugo Lima <hugo.lima@openbossa.org> | 2009-09-09 16:28:30 -0300 |
commit | 660237e4e259d5bdd7e299a3a828c39be0068621 (patch) | |
tree | 62184994a818276ed019c5d919c288a4535198aa /abstractmetalang.cpp | |
parent | 3247a6f50cd0b50fb046de3845a52e4860f2fbfb (diff) |
Check for constructors in isVirtual function.
Fixes Bug #46.
Reviewed by Hugo Parente
Diffstat (limited to 'abstractmetalang.cpp')
-rw-r--r-- | abstractmetalang.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/abstractmetalang.cpp b/abstractmetalang.cpp index e3cb07ecc..a2c9a9cb3 100644 --- a/abstractmetalang.cpp +++ b/abstractmetalang.cpp @@ -841,7 +841,7 @@ bool AbstractMetaFunction::isInplaceOperator() const bool AbstractMetaFunction::isVirtual() const { - return !isFinal() && !isSignal() && !isStatic() && !isFinalInCpp(); + return !isFinal() && !isSignal() && !isStatic() && !isFinalInCpp() && !isConstructor(); } bool AbstractMetaFunction::isCopyConstructor() const |