diff libinterp/dldfcn/__voronoi__.cc @ 20614:10ec79b47808

use new string_value method to handle value extraction errors * __voronoi__.cc, chol.cc, colamd.cc, fftw.cc: Use new string_value method.
author John W. Eaton <jwe@octave.org>
date Thu, 08 Oct 2015 18:15:56 -0400
parents 4197fc428c7d
children
line wrap: on
line diff
--- a/libinterp/dldfcn/__voronoi__.cc	Thu Oct 08 17:41:21 2015 -0400
+++ b/libinterp/dldfcn/__voronoi__.cc	Thu Oct 08 18:15:56 2015 -0400
@@ -87,7 +87,7 @@
 {
   octave_value_list retval;
 
-  std::string caller = args(0).string_value ();
+  std::string caller = args(0).string_value ("__voronoi__: CALLER must be a string");
 
 #if defined (HAVE_QHULL)