summaryrefslogtreecommitdiffhomepage
path: root/include/unicode.h
diff options
context:
space:
mode:
authorRoland Reichwein <mail@reichwein.it>2021-02-15 13:25:26 +0100
committerRoland Reichwein <mail@reichwein.it>2021-02-15 13:25:26 +0100
commited61b409f544ef68885dec5617bd37748ec018ad (patch)
treecfa5187ae38915413e2998fdefa7b9d9b6ff6025 /include/unicode.h
parentced4c8ffecd235e285fe95599e92364f170e1c0a (diff)
Fixed template signature
Diffstat (limited to 'include/unicode.h')
-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.");