Skip to content

Commit f4e72b1

Browse files
authored
Merge pull request #117 from davidanthoff/fix-julia-1.2-bug
Fix a bug on julia 1.2
2 parents 2e6bd73 + abd62c3 commit f4e72b1

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

src/VectorBackedStrings.jl

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -35,10 +35,10 @@ Base.@propagate_inbounds function Base.iterate(s::VectorBackedUTF8String, i::Int
3535
b = codeunit(s, i)
3636
u = UInt32(b) << 24
3737
Base.between(b, 0x80, 0xf7) || return reinterpret(Char, u), i+1
38-
return Base.next_continued(s, i, u)
38+
return our_next_continued(s, i, u)
3939
end
4040

41-
function Base.next_continued(s::VectorBackedUTF8String, i::Int, u::UInt32)
41+
function our_next_continued(s::VectorBackedUTF8String, i::Int, u::UInt32)
4242
u < 0xc0000000 && (i += 1; @goto ret)
4343
n = ncodeunits(s)
4444
# first continuation byte

0 commit comments

Comments
 (0)