diff options
author | Kyle Edwards <kyle.edwards@kitware.com> | 2020-09-29 14:17:10 (GMT) |
---|---|---|
committer | Kyle Edwards <kyle.edwards@kitware.com> | 2020-10-05 13:49:59 (GMT) |
commit | 8617479061039e2b357b7efc922f1b88648dce42 (patch) | |
tree | 41d37c685e178b73cf5122b5741fdcf9e4898d06 /Source/cmCMakePresetsFile.h | |
parent | 06128cf94964697279970a80ddfc1ce2ef7b4da5 (diff) | |
download | CMake-8617479061039e2b357b7efc922f1b88648dce42.zip CMake-8617479061039e2b357b7efc922f1b88648dce42.tar.gz CMake-8617479061039e2b357b7efc922f1b88648dce42.tar.bz2 |
CMake: Add presets functionality
Diffstat (limited to 'Source/cmCMakePresetsFile.h')
-rw-r--r-- | Source/cmCMakePresetsFile.h | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/Source/cmCMakePresetsFile.h b/Source/cmCMakePresetsFile.h index 17f6a88..70ec4c5 100644 --- a/Source/cmCMakePresetsFile.h +++ b/Source/cmCMakePresetsFile.h @@ -30,16 +30,16 @@ public: public: #if __cplusplus < 201703L && (!defined(_MSVC_LANG) || _MSVC_LANG < 201703L) Preset() = default; - Preset(const Preset& other) = default; - Preset(Preset&& other) = default; + Preset(const Preset& /*other*/) = default; + Preset(Preset&& /*other*/) = default; - Preset& operator=(const Preset& other) = default; + Preset& operator=(const Preset& /*other*/) = default; // The move assignment operators for several STL classes did not become // noexcept until C++17, which causes some tools to warn about this move // assignment operator throwing an exception when it shouldn't. Disable the // move assignment operator until C++17 is enabled. - Preset& operator=(Preset&& other) = delete; + Preset& operator=(Preset&& /*other*/) = delete; #endif std::string Name; |