Mercurial > octave
changeset 24199:2ac103974d00
Remove extra space between scope operator '::' and function.
* find-files-model.cc, ov-java.cc, lo-specfun.cc, kpse.cc,
oct-inttypes.h: Whitespace change only. Remove extra space between scope
operator '::' and function.
author | Rik <rik@octave.org> |
---|---|
date | Fri, 03 Nov 2017 20:39:58 -0700 |
parents | 11cdca79d316 |
children | 558de6a42ff7 |
files | libgui/src/find-files-model.cc libinterp/octave-value/ov-java.cc liboctave/numeric/lo-specfun.cc liboctave/util/kpse.cc liboctave/util/oct-inttypes.h |
diffstat | 5 files changed, 10 insertions(+), 10 deletions(-) [+] |
line wrap: on
line diff
--- a/libgui/src/find-files-model.cc Fri Nov 03 14:24:39 2017 -0700 +++ b/libgui/src/find-files-model.cc Fri Nov 03 20:39:58 2017 -0700 @@ -152,7 +152,7 @@ break; } } - else if (role == Qt:: DecorationRole) + else if (role == Qt::DecorationRole) { switch (idx.column ()) {
--- a/libinterp/octave-value/ov-java.cc Fri Nov 03 14:24:39 2017 -0700 +++ b/libinterp/octave-value/ov-java.cc Fri Nov 03 20:39:58 2017 -0700 @@ -2430,10 +2430,10 @@ } octave_value -octave_java:: do_javaMethod (void *jni_env_arg, - const std::string& class_name, - const std::string& name, - const octave_value_list& args) +octave_java::do_javaMethod (void *jni_env_arg, + const std::string& class_name, + const std::string& name, + const octave_value_list& args) { #if defined (HAVE_JAVA)
--- a/liboctave/numeric/lo-specfun.cc Fri Nov 03 14:24:39 2017 -0700 +++ b/liboctave/numeric/lo-specfun.cc Fri Nov 03 20:39:58 2017 -0700 @@ -2750,7 +2750,7 @@ { Complex retval; - if (std:: abs (x) < 1) + if (std::abs (x) < 1) { double im = x.imag (); double u = expm1 (x.real ()); @@ -2769,7 +2769,7 @@ { FloatComplex retval; - if (std:: abs (x) < 1) + if (std::abs (x) < 1) { float im = x.imag (); float u = expm1 (x.real ());
--- a/liboctave/util/kpse.cc Fri Nov 03 14:24:39 2017 -0700 +++ b/liboctave/util/kpse.cc Fri Nov 03 20:39:58 2017 -0700 @@ -601,7 +601,7 @@ for (auto p = names.cbegin (); p != names.cend (); p++) { if (p == names.cbegin ()) - std:: cerr << *p; + std::cerr << *p; else std::cerr << ", " << *p; }
--- a/liboctave/util/oct-inttypes.h Fri Nov 03 14:24:39 2017 -0700 +++ b/liboctave/util/oct-inttypes.h Fri Nov 03 20:39:58 2017 -0700 @@ -292,8 +292,8 @@ { public: - static T min_val () { return std::numeric_limits<T>:: min (); } - static T max_val () { return std::numeric_limits<T>:: max (); } + static T min_val () { return std::numeric_limits<T>::min (); } + static T max_val () { return std::numeric_limits<T>::max (); } // Convert integer value. template <typename S>