aboutsummaryrefslogtreecommitdiffstats
path: root/CheckSources.cmake
diff options
context:
space:
mode:
authorSergio Martins <smartins@kde.org>2018-03-17 00:25:51 +0000
committerSergio Martins <smartins@kde.org>2018-03-17 00:42:13 +0000
commit14d597cc93c910ba265ea63fe691f3b7fa634b0c (patch)
tree02a74273e23dc5f2ccc868f887f8681d33d478b4 /CheckSources.cmake
parenta6f113b2022004a3d84f6837ffaad37b6c73547a (diff)
Introduce static-pmf
Storing pointer to member functions in static variables is not advisable on MingW. Breaks connect(). CCMAIL: mathias.hasselmann@kdab.com
Diffstat (limited to 'CheckSources.cmake')
-rw-r--r--CheckSources.cmake1
1 files changed, 1 insertions, 0 deletions
diff --git a/CheckSources.cmake b/CheckSources.cmake
index b73840c3..dadc41ea 100644
--- a/CheckSources.cmake
+++ b/CheckSources.cmake
@@ -68,6 +68,7 @@ set(CLAZY_CHECKS_SRCS ${CLAZY_CHECKS_SRCS}
${CMAKE_CURRENT_LIST_DIR}/src/checks/level2/qstring-allocations.cpp
${CMAKE_CURRENT_LIST_DIR}/src/checks/level2/returning-void-expression.cpp
${CMAKE_CURRENT_LIST_DIR}/src/checks/level2/rule-of-three.cpp
+ ${CMAKE_CURRENT_LIST_DIR}/src/checks/level2/static-pmf.cpp
${CMAKE_CURRENT_LIST_DIR}/src/checks/level2/virtual-call-ctor.cpp
${CMAKE_CURRENT_LIST_DIR}/src/checks/level3/assert-with-side-effects.cpp
${CMAKE_CURRENT_LIST_DIR}/src/checks/level3/detaching-member.cpp