From e030b1d56785405cb35531758d603be88af9b487 Mon Sep 17 00:00:00 2001 From: Neil Date: Fri, 29 Jul 2022 11:16:28 +1000 Subject: Apply rule-of-zero to delete standard methods where possible as handled by contained types. This allows flexibility as most lower-level data types can be moved and SplitVector and Partitioning of non-move-only types may be copied. CellBuffer still needs destructor due to incomplete type so retains all standard operations. --- src/UniqueString.cxx | 2 -- 1 file changed, 2 deletions(-) (limited to 'src/UniqueString.cxx') diff --git a/src/UniqueString.cxx b/src/UniqueString.cxx index 0550a0b8c..4c5b4b231 100644 --- a/src/UniqueString.cxx +++ b/src/UniqueString.cxx @@ -30,8 +30,6 @@ UniqueString UniqueStringCopy(const char *text) { UniqueStringSet::UniqueStringSet() = default; -UniqueStringSet::~UniqueStringSet() noexcept = default; - void UniqueStringSet::Clear() noexcept { strings.clear(); } -- cgit v1.2.3