Fixed end() for wide strings
This commit is contained in:
parent
af776afb2e
commit
6a5265be03
@ -292,7 +292,7 @@ public:
|
||||
return end();
|
||||
}
|
||||
constexpr auto end() const noexcept {
|
||||
return iterator(kvp_buffer + sizeof(kvp_buffer) - 1);
|
||||
return iterator(kvp_buffer + sizeof(kvp_buffer) / sizeof(char_type) - 1);
|
||||
}
|
||||
/**
|
||||
* Returns end iterator for the given section.
|
||||
|
Loading…
x
Reference in New Issue
Block a user