aboutsummaryrefslogtreecommitdiff
path: root/gdb/guile
diff options
context:
space:
mode:
Diffstat (limited to 'gdb/guile')
-rw-r--r--gdb/guile/scm-type.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/gdb/guile/scm-type.c b/gdb/guile/scm-type.c
index c23305a..987660c 100644
--- a/gdb/guile/scm-type.c
+++ b/gdb/guile/scm-type.c
@@ -109,7 +109,7 @@ tyscm_type_name (struct type *type)
string_file stb;
LA_PRINT_TYPE (type, "", &stb, -1, 0, &type_print_raw_options);
- return std::move (stb.string ());
+ return stb.release ();
}
catch (const gdb_exception &except)
{