summaryrefslogtreecommitdiffstats
path: root/Source/cmGlobalVisualStudio10Generator.h
diff options
context:
space:
mode:
authorBen Boeckel <ben.boeckel@kitware.com>2022-11-22 18:51:48 (GMT)
committerBen Boeckel <ben.boeckel@kitware.com>2022-11-29 17:39:29 (GMT)
commit1b929ba8e41b49ab9c30c095bf9585b3ab85656b (patch)
tree36e141a00880df62f0502d6b154e1708eb7afbc0 /Source/cmGlobalVisualStudio10Generator.h
parentbcada09e451b4765ec1239ad11a282ed3ccbc71b (diff)
downloadCMake-1b929ba8e41b49ab9c30c095bf9585b3ab85656b.zip
CMake-1b929ba8e41b49ab9c30c095bf9585b3ab85656b.tar.gz
CMake-1b929ba8e41b49ab9c30c095bf9585b3ab85656b.tar.bz2
clang-tidy: fix `modernize-use-nullptr` lints
Diffstat (limited to 'Source/cmGlobalVisualStudio10Generator.h')
-rw-r--r--Source/cmGlobalVisualStudio10Generator.h4
1 files changed, 2 insertions, 2 deletions
diff --git a/Source/cmGlobalVisualStudio10Generator.h b/Source/cmGlobalVisualStudio10Generator.h
index 3f01a9c..63c21c5 100644
--- a/Source/cmGlobalVisualStudio10Generator.h
+++ b/Source/cmGlobalVisualStudio10Generator.h
@@ -243,8 +243,8 @@ private:
{
LongestSourcePath() = default;
size_t Length = 0;
- cmGeneratorTarget* Target = 0;
- cmSourceFile const* SourceFile = 0;
+ cmGeneratorTarget* Target = nullptr;
+ cmSourceFile const* SourceFile = nullptr;
std::string SourceRel;
};
LongestSourcePath LongestSource;