From 23e54e383e9996c9809cc3c227b215b7cbc18061 Mon Sep 17 00:00:00 2001 From: Klaus Basan Date: Wed, 26 Mar 2014 17:54:41 +0100 Subject: [PATCH] refs #189, fixed CPqString::getMetaTypeId() --- src/blackmisc/pqstring.cpp | 8 ++++++++ src/blackmisc/pqstring.h | 5 +---- 2 files changed, 9 insertions(+), 4 deletions(-) diff --git a/src/blackmisc/pqstring.cpp b/src/blackmisc/pqstring.cpp index 3ba1e84a6..b8b59133f 100644 --- a/src/blackmisc/pqstring.cpp +++ b/src/blackmisc/pqstring.cpp @@ -23,6 +23,14 @@ namespace BlackMisc return this->CValueObject::isA(metaTypeId); } + /* + * Meta id + */ + int CPqString::getMetaTypeId() const + { + return qMetaTypeId(); + } + /* * Compare */ diff --git a/src/blackmisc/pqstring.h b/src/blackmisc/pqstring.h index 63c47de2f..715692e4b 100644 --- a/src/blackmisc/pqstring.h +++ b/src/blackmisc/pqstring.h @@ -60,10 +60,7 @@ namespace BlackMisc } //! \copydoc CValueObject::getMetaTypeId - int getMetaTypeId() const - { - return qMetaTypeId(); - } + int getMetaTypeId() const override; //! \copydoc CValueObject::getValueHash virtual uint getValueHash() const override;