diff libinterp/octave-value/ov-perm.cc @ 30139:c789e728d57a

Backed out changeset 938794bc82b7 Renaming octave_base_value::count to m_count breaks some packages that define new octave_value data types. Maybe those packages shouldn't be touching the count directly, but they do. Since we may also want to switch to using std::shared_ptr to manage octave_value objects instead of our own custom reference counting implmentation, it is probably best to delay this change until we know exactly what path we want to take.
author John W. Eaton <jwe@octave.org>
date Wed, 08 Sep 2021 11:14:44 -0400
parents 938794bc82b7
children a61e1a0f6024
line wrap: on
line diff
--- a/libinterp/octave-value/ov-perm.cc	Wed Sep 08 06:46:19 2021 -0400
+++ b/libinterp/octave-value/ov-perm.cc	Wed Sep 08 11:14:44 2021 -0400
@@ -118,7 +118,7 @@
           else
             {
               retval = this;
-              this->m_count++;
+              this->count++;
             }
         }
     }