Switch to unified view

a/src/utils/utf8iter.h b/src/utils/utf8iter.h
...
...
48
    }
48
    }
49
49
50
    /** "Direct" access. Awfully inefficient as we skip from start or current
50
    /** "Direct" access. Awfully inefficient as we skip from start or current
51
     * position at best. This can only be useful for a lookahead from the
51
     * position at best. This can only be useful for a lookahead from the
52
     * current position */
52
     * current position */
53
    unsigned int operator[](unsigned int charpos) const 
53
    unsigned int operator[](std::string::size_type charpos) const 
54
    {
54
    {
55
    std::string::size_type mypos = 0;
55
    std::string::size_type mypos = 0;
56
    unsigned int mycp = 0;
56
    unsigned int mycp = 0;
57
    if (charpos >= m_charpos) {
57
    if (charpos >= m_charpos) {
58
        mypos = m_pos;
58
        mypos = m_pos;