From 4848dc2c567d8043266521da8e937bfb91fb8d32 Mon Sep 17 00:00:00 2001 From: ThomasBreuer Date: Fri, 7 Jun 2019 14:17:28 +0200 Subject: [PATCH] in show, use StringView not String --- src/gap2.jl | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/gap2.jl b/src/gap2.jl index e6caf9bce..e922b6a2f 100644 --- a/src/gap2.jl +++ b/src/gap2.jl @@ -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