Mercurial > octave
changeset 26365:45d5a4ae636b stable
ov-java.cc: Bugfix use xstring_value for extraction
This is basically the same problem as detected V601 on bug #55347
but not part of that list.
author | Andreas Weber <octave@josoansi.de> |
---|---|
date | Wed, 02 Jan 2019 18:34:32 +0100 |
parents | 2398d2cc3d70 |
children | b66765e66e87 |
files | libinterp/octave-value/ov-java.cc |
diffstat | 1 files changed, 1 insertions(+), 1 deletions(-) [+] |
line wrap: on
line diff
--- a/libinterp/octave-value/ov-java.cc Wed Jan 02 18:27:41 2019 +0100 +++ b/libinterp/octave-value/ov-java.cc Wed Jan 02 18:34:32 2019 +0100 @@ -3162,7 +3162,7 @@ if (args.length () != 2) print_usage (); - std::string name = args(1).string_value ("__java_get__: NAME must be a string"); + std::string name = args(1).xstring_value ("__java_get__: NAME must be a string"); initialize_java ();