Reference type for the checked iterator can't be a ref.
This commit is contained in:
parent
e5aa85b2d7
commit
1ed5b3bc9f
1 changed files with 2 additions and 1 deletions
|
@ -31,6 +31,7 @@ DEALINGS IN THE SOFTWARE.
|
|||
#include "core.h"
|
||||
#include <stdexcept>
|
||||
#include <cassert>
|
||||
#include <cstddef>
|
||||
|
||||
namespace utf8
|
||||
{
|
||||
|
@ -310,7 +311,7 @@ namespace utf8
|
|||
typename octet_iterator,
|
||||
typename error_policy=ErrorPolicyThrow<octet_iterator>
|
||||
>
|
||||
class iterator : public std::iterator <std::bidirectional_iterator_tag, uint32_t> {
|
||||
class iterator : public std::iterator <std::bidirectional_iterator_tag, uint32_t, std::ptrdiff_t, uint32_t*, uint32_t> {
|
||||
octet_iterator it;
|
||||
octet_iterator range_start;
|
||||
octet_iterator range_end;
|
||||
|
|
Loading…
Reference in a new issue