diff libinterp/dldfcn/__voronoi__.cc @ 23829:01899bdd2a3a

Eliminate unnecessary std::string ("...") constructor calls when "..." suffices. * Backend.cc, KeyMap.cc, QtHandlesUtils.cc, error.cc, help.cc, oct-hist.cc, pr-output.cc, urlwrite.cc, utils.cc, variables.cc, __voronoi__.cc, ov-classdef.cc, ov-fcn-handle.cc, pt-funcall.cc, pt-pr-code.cc, pt-tm-const.cc, DASPK.cc, DASRT.cc, DASSL.cc, LSODE.cc, oct-env.cc, kpse.cc: Eliminate unnecessary std::string ("...") constructor calls when "..." suffices.
author Rik <rik@octave.org>
date Fri, 04 Aug 2017 09:37:04 -0700
parents 336f89b6208b
children 861e12ce7c06
line wrap: on
line diff
--- a/libinterp/dldfcn/__voronoi__.cc	Thu Aug 03 08:43:49 2017 -0700
+++ b/libinterp/dldfcn/__voronoi__.cc	Fri Aug 04 09:37:04 2017 -0700
@@ -343,7 +343,7 @@
   std::string caller
     = (args.length () > 0
        ? args(0).xstring_value ("__voronoi__: CALLER must be a string")
-       : std::string ("__voronoi__"));
+       : "__voronoi__");
 
   err_disabled_feature (caller, "Qhull");