From d140263a497b4a86818ab5e2017a66df43eb83fb Mon Sep 17 00:00:00 2001 From: DongHun Kwak Date: Fri, 8 Oct 2021 09:14:03 +0900 Subject: Imported Upstream version 3.15.0 --- Source/cmState.h | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) (limited to 'Source/cmState.h') diff --git a/Source/cmState.h b/Source/cmState.h index f755f8362..6abe71c0b 100644 --- a/Source/cmState.h +++ b/Source/cmState.h @@ -35,6 +35,9 @@ public: cmState(); ~cmState(); + cmState(const cmState&) = delete; + cmState& operator=(const cmState&) = delete; + enum Mode { Unknown, @@ -104,7 +107,7 @@ public: void RemoveCacheEntryProperty(std::string const& key, std::string const& propertyName); - ///! Break up a line like VAR:type="value" into var, type and value + //! Break up a line like VAR:type="value" into var, type and value static bool ParseCacheEntry(const std::string& entry, std::string& var, std::string& value, cmStateEnums::CacheEntryType& type); -- cgit v1.2.3