summaryrefslogtreecommitdiffhomepage
path: root/include
diff options
context:
space:
mode:
Diffstat (limited to 'include')
-rw-r--r--include/unicode.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/include/unicode.h b/include/unicode.h
index 3dcf29f..502ec16 100644
--- a/include/unicode.h
+++ b/include/unicode.h
@@ -249,7 +249,7 @@ namespace unicode::detail {
utf_back_insert_iterator(string_type& s): s(s) {}
- utf_back_insert_iterator<T>& operator=(const utf_back_insert_iterator<T>& other)
+ utf_back_insert_iterator& operator=(const utf_back_insert_iterator& other)
{
if (std::addressof(other.s) != std::addressof(s))
throw std::runtime_error("utf_back_insert_iterator assignment operator actually called! Iterator should not be assigned to.");