summaryrefslogtreecommitdiff
path: root/thirdparty/icu4c/common/charstr.h
diff options
context:
space:
mode:
Diffstat (limited to 'thirdparty/icu4c/common/charstr.h')
-rw-r--r--thirdparty/icu4c/common/charstr.h4
1 files changed, 2 insertions, 2 deletions
diff --git a/thirdparty/icu4c/common/charstr.h b/thirdparty/icu4c/common/charstr.h
index 175acd1c0a..92a75d3d2f 100644
--- a/thirdparty/icu4c/common/charstr.h
+++ b/thirdparty/icu4c/common/charstr.h
@@ -177,8 +177,8 @@ private:
UBool ensureCapacity(int32_t capacity, int32_t desiredCapacityHint, UErrorCode &errorCode);
- CharString(const CharString &other); // forbid copying of this class
- CharString &operator=(const CharString &other); // forbid copying of this class
+ CharString(const CharString &other) = delete; // forbid copying of this class
+ CharString &operator=(const CharString &other) = delete; // forbid copying of this class
/**
* Returns U_FILE_ALT_SEP_CHAR if found in string, and U_FILE_SEP_CHAR is not found.