diff --git a/src/plugins/debugger/watchdata.cpp b/src/plugins/debugger/watchdata.cpp index 4230f601631..098051d9e9e 100644 --- a/src/plugins/debugger/watchdata.cpp +++ b/src/plugins/debugger/watchdata.cpp @@ -131,28 +131,10 @@ WatchData::WatchData() : wantsChildren(false), valueEnabled(true), valueEditable(true), - sortId(0), - source(0) + sortId(0) { } -bool WatchData::isEqual(const WatchData &other) const -{ - return iname == other.iname - && exp == other.exp - && name == other.name - && value == other.value - && editvalue == other.editvalue - && type == other.type - && displayedType == other.displayedType - && address == other.address - && size == other.size - && elided == other.elided - && wantsChildren == other.wantsChildren - && valueEnabled == other.valueEnabled - && valueEditable == other.valueEditable; -} - bool WatchData::isAncestorOf(const QByteArray &childIName) const { if (iname.size() >= childIName.size()) diff --git a/src/plugins/debugger/watchdata.h b/src/plugins/debugger/watchdata.h index 8c23b6c51bd..5aa68af9652 100644 --- a/src/plugins/debugger/watchdata.h +++ b/src/plugins/debugger/watchdata.h @@ -82,7 +82,6 @@ public: bool isValid() const { return !iname.isEmpty(); } bool isVTablePointer() const; - bool isEqual(const WatchData &other) const; bool isAncestorOf(const QByteArray &childIName) const; void setError(const QString &); @@ -128,10 +127,6 @@ public: qint32 sortId; Q_DECLARE_TR_FUNCTIONS(Debugger::Internal::WatchHandler) - -public: - // FIXME: this is engine specific data that should be mapped internally - qint32 source; // Originated from dumper or symbol evaluation? (CDB only) }; void decodeArrayData(std::function itemHandler,