diff --git a/src/plugins/debugger/watchhandler.cpp b/src/plugins/debugger/watchhandler.cpp index ed2a051d086cf19ee9a8584fadcebdf118f1b1f5..128005f711a926371ba4a01b1e17f723032cf007 100644 --- a/src/plugins/debugger/watchhandler.cpp +++ b/src/plugins/debugger/watchhandler.cpp @@ -1802,7 +1802,7 @@ WatchModel *WatchItem::watchModel() void WatchItem::parseWatchData(const GdbMi &input) { auto itemHandler = [this](const WatchData &data) { - WatchData::operator=(data); + static_cast(this)->operator=(data); // FIXME with 3.5 }; auto childHandler = [this](const WatchData &innerData, const GdbMi &innerInput) {