diff options
author | Alessandro Portale <alessandro.portale@qt.io> | 2020-11-18 22:42:51 +0100 |
---|---|---|
committer | Alessandro Portale <alessandro.portale@qt.io> | 2020-11-19 08:42:14 +0000 |
commit | b2a766a79ac778febff87f0def34cf6d3f4f93e3 (patch) | |
tree | 8948acefd801721406f4e4015dde6616f4ee0303 /src/libs/qtcreatorcdbext | |
parent | 0c0347ce61a55b972178a8a07bb4f0c819555219 (diff) |
Don't access static functions/fields via instance
Courtesy of readability-static-accessed-through-instance
Change-Id: I71f54244f1e091315dac2943d9e1bfad6efa56a9
Reviewed-by: Jarek Kobus <jaroslaw.kobus@qt.io>
Diffstat (limited to 'src/libs/qtcreatorcdbext')
-rw-r--r-- | src/libs/qtcreatorcdbext/containers.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/libs/qtcreatorcdbext/containers.cpp b/src/libs/qtcreatorcdbext/containers.cpp index 809259f04d..7a9347e9b5 100644 --- a/src/libs/qtcreatorcdbext/containers.cpp +++ b/src/libs/qtcreatorcdbext/containers.cpp @@ -650,7 +650,7 @@ static inline AbstractSymbolGroupNodePtrVector static inline AbstractSymbolGroupNodePtrVector stdHashChildList(const SymbolGroupValue &set, unsigned count) { - SymbolGroupValue list = set.findMember(set, "_List"); + const SymbolGroupValue list = SymbolGroupValue::findMember(set, "_List"); return stdListChildList(list.node(), count, list.context()); } |