diff libinterp/octave-value/ov-struct.cc @ 21017:93748bcaec17

maint: Replace emtpy 'std::string ()' calls with "". * Backend.cc, comment-list.h, debug.cc, defaults.in.h, dynamic-ld.h, error.cc, graphics.cc, graphics.in.h, help.cc, hook-fcn.h, load-path.cc, load-path.h, ls-ascii-helper.cc, ls-mat-ascii.cc, ls-mat5.cc, ls-mat5.h, ls-oct-text.cc, oct-iostrm.h, oct-lvalue.h, oct-stream.cc, oct-stream.h, oct-strstrm.h, regexp.cc, schur.cc, sqrtm.cc, strfns.cc, symtab.cc, symtab.h, sysdep.cc, toplev.cc, urlwrite.cc, variables.cc, variables.h, ov-builtin.h, ov-cell.cc, ov-class.cc, ov-classdef.cc, ov-classdef.h, ov-dld-fcn.h, ov-fcn-handle.cc, ov-fcn-inline.cc, ov-fcn-inline.h, ov-fcn.h, ov-lazy-idx.cc, ov-mex-fcn.h, ov-struct.cc, ov-typeinfo.cc, ov-typeinfo.h, ov-usr-fcn.cc, ov-usr-fcn.h, ov.h, ovl.h, octave.cc, lex.h, parse.h, pt-classdef.h, pt-exp.cc, pt-pr-code.h, token.h, version.cc, version.in.h, oct-rand.h, dir-ops.h, file-ops.cc, file-ops.h, file-stat.h, oct-env.cc, oct-group.cc, oct-passwd.cc, oct-syscalls.cc, cmd-edit.cc, cmd-edit.h, cmd-hist.cc, cmd-hist.h, kpse.cc, lo-array-gripes.h, pathsearch.cc, pathsearch.h, str-vec.h, url-transfer.h: Replace emtpy 'std::string ()' calls with "".
author Rik <rik@octave.org>
date Wed, 30 Dec 2015 12:33:33 -0800
parents 0963ed389012
children ebc439187d29
line wrap: on
line diff
--- a/libinterp/octave-value/ov-struct.cc	Wed Dec 30 11:43:29 2015 -0800
+++ b/libinterp/octave-value/ov-struct.cc	Wed Dec 30 12:33:33 2015 -0800
@@ -741,7 +741,7 @@
 
           // recurse to read cell elements
           std::string nm
-            = read_text_data (is, std::string (), dummy, t2, j);
+            = read_text_data (is, "", dummy, t2, j);
 
           if (! is)
             break;
@@ -853,7 +853,7 @@
           std::string doc;
 
           // recurse to read cell elements
-          std::string nm = read_binary_data (is, swap, fmt, std::string (),
+          std::string nm = read_binary_data (is, swap, fmt, "",
                                              dummy, t2, doc);
 
           if (! is)
@@ -1380,7 +1380,7 @@
 
           // recurse to read cell elements
           std::string nm
-            = read_text_data (is, std::string (), dummy, t2, j);
+            = read_text_data (is, "", dummy, t2, j);
 
           if (! is)
             break;
@@ -1454,7 +1454,7 @@
           std::string doc;
 
           // recurse to read cell elements
-          std::string nm = read_binary_data (is, swap, fmt, std::string (),
+          std::string nm = read_binary_data (is, swap, fmt, "",
                                              dummy, t2, doc);
 
           if (! is)