aboutsummaryrefslogtreecommitdiffstats
path: root/src/checks/level3/README-detaching-member.md
blob: d5ba9c88063a1f3aa4c17eaf3f7438c748f948d1 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
# detaching-member

Finds places where member containers are potentially detached.

#### Example

    QString MyClass::myMethod()
    {
        return m_container.first(); // Should be constFirst()
    }

#### Pitfalls
This check is disabled by default as it reports too many false positives for now.