From 55671b41d2d182ce8d3201012ec55badd7116615 Mon Sep 17 00:00:00 2001 From: Regina Pfeifer Date: Tue, 22 Jan 2019 23:44:50 +0100 Subject: clang-tidy: Use `= default` Suppress some cases in `Source/cmGeneratorExpressionNode.cxx` and `Source/cmUVHandlePtr.h` where a few older compilers require a user-defined default constructor (with `{}`). --- Source/cmDependsC.cxx | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-) (limited to 'Source/cmDependsC.cxx') diff --git a/Source/cmDependsC.cxx b/Source/cmDependsC.cxx index f6ac4f2dc2..049f8403d2 100644 --- a/Source/cmDependsC.cxx +++ b/Source/cmDependsC.cxx @@ -19,9 +19,7 @@ #define INCLUDE_REGEX_COMPLAIN_MARKER "#IncludeRegexComplain: " #define INCLUDE_REGEX_TRANSFORM_MARKER "#IncludeRegexTransform: " -cmDependsC::cmDependsC() -{ -} +cmDependsC::cmDependsC() = default; cmDependsC::cmDependsC( cmLocalGenerator* lg, const std::string& targetDir, const std::string& lang, -- cgit v1.2.1