diff --git a/src/libs/cplusplus/FindUsages.cpp b/src/libs/cplusplus/FindUsages.cpp index 8acb0214734dfa4eb26952f906a7f2443e7167c4..31d75c346f7165de3aaa6d8e6029aa1d483ae71c 100644 --- a/src/libs/cplusplus/FindUsages.cpp +++ b/src/libs/cplusplus/FindUsages.cpp @@ -71,7 +71,7 @@ void FindUsages::operator()(Symbol *symbol) _declSymbol = symbol; _id = 0; - if (_declSymbol && 0 != & (_id = _declSymbol->identifier())) + if (_declSymbol && 0 != (_id = _declSymbol->identifier())) _id = _doc->control()->findOrInsertIdentifier(_id->chars(), _id->size()); if (_id) {