From 4af51767cf8514b196ce9be76c6c31111ea5fe3f Mon Sep 17 00:00:00 2001 From: Friedemann Kleint Date: Fri, 31 Aug 2018 10:09:39 +0200 Subject: libshiboken: Fix clang-tidy warnings about class definitions - Add override - Use = default for trivial constructors/destructors - Delete copy and move constructors/assignment and move assignment operators where not needed - Use member initialization and remove constructors from simple structs - Use explicit where applicable Change-Id: Id293dd0008b05243e665347f12fd1dee3b1b70f7 Reviewed-by: Christian Tismer --- sources/shiboken2/libshiboken/bindingmanager.cpp | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-) (limited to 'sources/shiboken2/libshiboken/bindingmanager.cpp') diff --git a/sources/shiboken2/libshiboken/bindingmanager.cpp b/sources/shiboken2/libshiboken/bindingmanager.cpp index 83ea6244f..4053b87f9 100644 --- a/sources/shiboken2/libshiboken/bindingmanager.cpp +++ b/sources/shiboken2/libshiboken/bindingmanager.cpp @@ -62,9 +62,7 @@ public: Edges m_edges; - Graph() - { - } + Graph() = default; void addEdge(SbkObjectType* from, SbkObjectType* to) { -- cgit v1.2.3