summaryrefslogtreecommitdiffstats
path: root/Source/cmFileTime.h
diff options
context:
space:
mode:
authorSean McBride <sean@rogue-research.com>2021-10-14 16:13:23 (GMT)
committerSean McBride <sean@rogue-research.com>2021-10-15 15:23:12 (GMT)
commite2a4718d186d4848bae2beb926279ea334e0fef3 (patch)
treec5f6f7ed5526d131bc534cb6bd6a86c00361f917 /Source/cmFileTime.h
parent315fc296e3c1ecddbf59a2144b0dff9a05c715ed (diff)
downloadCMake-e2a4718d186d4848bae2beb926279ea334e0fef3.zip
CMake-e2a4718d186d4848bae2beb926279ea334e0fef3.tar.gz
CMake-e2a4718d186d4848bae2beb926279ea334e0fef3.tar.bz2
Source: Fix Clang -Wdeprecated warnings
Applied C++ 'rule of three'.
Diffstat (limited to 'Source/cmFileTime.h')
-rw-r--r--Source/cmFileTime.h2
1 files changed, 2 insertions, 0 deletions
diff --git a/Source/cmFileTime.h b/Source/cmFileTime.h
index 4419880..ccc9633 100644
--- a/Source/cmFileTime.h
+++ b/Source/cmFileTime.h
@@ -24,6 +24,8 @@ public:
#endif
cmFileTime() = default;
~cmFileTime() = default;
+ cmFileTime(const cmFileTime&) = default;
+ cmFileTime& operator=(const cmFileTime&) = default;
/**
* @brief Loads the file time of fileName from the file system