diff liboctave/array/Range.h @ 31606:dfa5d9c3ae72

maint: merge stable to default
author Rik <rik@octave.org>
date Thu, 01 Dec 2022 14:28:07 -0800
parents fb77a0b4a00a e88a07dec498
children 23664317f0d3
line wrap: on
line diff
--- a/liboctave/array/Range.h	Thu Dec 01 14:01:16 2022 -0800
+++ b/liboctave/array/Range.h	Thu Dec 01 14:28:07 2022 -0800
@@ -38,8 +38,8 @@
 #include "oct-sort.h"
 #include "range-fwd.h"
 
-namespace octave
-{
+OCTAVE_BEGIN_NAMESPACE(octave)
+
   // For now, only define for floating point types.  However, we only
   // need range<float> as a temporary local variable in make_float_range
   // in ov.cc.
@@ -393,6 +393,7 @@
 
   template <> OCTAVE_API octave_idx_type range<double>::nnz (void) const;
   template <> OCTAVE_API octave_idx_type range<float>::nnz (void) const;
-}
+
+OCTAVE_END_NAMESPACE(octave)
 
 #endif