Skip to content

Commit

Permalink
in show, use StringView not String
Browse files Browse the repository at this point in the history
  • Loading branch information
ThomasBreuer committed Jun 21, 2019
1 parent 28cfaf1 commit 4848dc2
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/gap2.jl
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
import Base: convert, getindex, setindex!, length, show

function Base.show( io::IO, obj::Union{GapObj,FFE} )
str = Globals.String( obj )
str = Globals.StringView( obj )
stri = CSTR_STRING( str )
print(io,"GAP: $stri")
end
Expand Down

0 comments on commit 4848dc2

Please sign in to comment.