changeset 30036:80373844f8b2

maint: Use C++ style definition of struct rather than C style in quadcc.cc * quadcc.cc: Replace typedef for cquad_ival struct with just struct definition.
author Rik <rik@octave.org>
date Tue, 24 Aug 2021 17:54:43 -0700
parents 9fa1d8dd3a23
children 8d6bdd961494
files libinterp/corefcn/quadcc.cc
diffstat 1 files changed, 2 insertions(+), 2 deletions(-) [+]
line wrap: on
line diff
--- a/libinterp/corefcn/quadcc.cc	Tue Aug 24 17:50:48 2021 -0700
+++ b/libinterp/corefcn/quadcc.cc	Tue Aug 24 17:54:43 2021 -0700
@@ -51,14 +51,14 @@
 static const int MIN_CQUAD_HEAPSIZE = 200;
 
 // Data of a single interval.
-typedef struct
+struct cquad_ival
 {
   double a, b;
   double c[64];
   double fx[33];
   double igral, err;
   int depth, rdepth, ndiv;
-} cquad_ival;
+};
 
 // Define relative tolerance used when deciding to drop an interval.
 static const double DROP_RELTOL = std::numeric_limits<double>::epsilon () * 10;