Absolute File Name: | /home/opencoverage/opencoverage/guest-scripts/qtdeclarative/src/qtdeclarative/src/qml/qml/ftw/qdeferredcleanup_p.h |
Switch to Source code | Preprocessed file |
Line | Source | Count |
---|---|---|
1 | - | |
2 | - | |
3 | - | |
4 | - | |
5 | - | |
6 | struct QDeferredCleanup | - |
7 | { | - |
8 | std::function<void()> callback; | - |
9 | template <typename Callback> | - |
10 | QDeferredCleanup(Callback &&cb) | - |
11 | : callback(cb) | - |
12 | {} executed 64775 times by 141 tests: end of block Executed by:
| 64775 |
13 | ~QDeferredCleanup() { callback(); } executed 64775 times by 141 tests: end of block Executed by:
| 64775 |
14 | QDeferredCleanup(const QDeferredCleanup &) = delete; | - |
15 | QDeferredCleanup &operator=(const QDeferredCleanup &) = delete; | - |
16 | }; | - |
17 | - | |
18 | - | |
Switch to Source code | Preprocessed file |