From 572af7499d088a239d37e9dc09e5e7ac45c13d29 Mon Sep 17 00:00:00 2001 From: Adrian Kummerländer Date: Wed, 9 Apr 2014 18:31:44 +0200 Subject: Switched to standard integer types * i.e. replaced uint8_t with std::uint8_t contained within the standard namespace ** as this version of the types is defined by the standard this should offer better compiler independence and standard compliance * removed unnecessary pointer and reference type arguments in the std::iterator template specializations the CodepointIterator class is derived from --- src/codepoint_iterator.h | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-) (limited to 'src/codepoint_iterator.h') diff --git a/src/codepoint_iterator.h b/src/codepoint_iterator.h index 6c8c43d..b505587 100644 --- a/src/codepoint_iterator.h +++ b/src/codepoint_iterator.h @@ -9,9 +9,7 @@ namespace UTF8 { class CodepointIterator : public std::iterator { + std::string::difference_type> { public: CodepointIterator(std::string::const_iterator); CodepointIterator(const CodepointIterator&); -- cgit v1.2.3