Mercurial > hg > octave-jordi
comparison libinterp/corefcn/debug.cc @ 21016: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 | 81c2b14c209f |
children |
comparison
equal
deleted
inserted
replaced
21015:c22219b8a6a6 | 21016:93748bcaec17 |
---|---|
165 // Return a pointer to the user-defined function FNAME. If FNAME is | 165 // Return a pointer to the user-defined function FNAME. If FNAME is |
166 // empty, search backward for the first user-defined function in the | 166 // empty, search backward for the first user-defined function in the |
167 // current call stack. | 167 // current call stack. |
168 | 168 |
169 static octave_user_code * | 169 static octave_user_code * |
170 get_user_code (const std::string& fname = std::string ()) | 170 get_user_code (const std::string& fname = "") |
171 { | 171 { |
172 octave_user_code *dbg_fcn = 0; | 172 octave_user_code *dbg_fcn = 0; |
173 | 173 |
174 if (fname.empty ()) | 174 if (fname.empty ()) |
175 dbg_fcn = octave_call_stack::caller_user_code (); | 175 dbg_fcn = octave_call_stack::caller_user_code (); |
195 parse_dbfunction_params (const char *who, const octave_value_list& args, | 195 parse_dbfunction_params (const char *who, const octave_value_list& args, |
196 std::string& symbol_name, bp_table::intmap& lines) | 196 std::string& symbol_name, bp_table::intmap& lines) |
197 { | 197 { |
198 int idx = 0; | 198 int idx = 0; |
199 int list_idx = 0; | 199 int list_idx = 0; |
200 symbol_name = std::string (); | 200 symbol_name = ""; |
201 lines = bp_table::intmap (); | 201 lines = bp_table::intmap (); |
202 | 202 |
203 if (args.length () == 0) | 203 if (args.length () == 0) |
204 return; | 204 return; |
205 | 205 |