Skip to content

Commit

Permalink
maint: Remove features deprecated in Octave 8.
Browse files Browse the repository at this point in the history
* ov-base.h: Remove extern declaration for Vsparse_auto_mutate.

* ov-base.cc (bool Vsparse_auto_mutate): Remove static variable.

* scripts/deprecated/shift.m: Deleted.

* scripts/deprecated/sparse_auto_mutate.m: Deleted.

* scripts/deprecated/module.mk: Remove shift.m and sparse_auto_mutate.m from
build system.
  • Loading branch information
Rik committed Nov 23, 2023
1 parent a19cf70 commit 34f3152
Show file tree
Hide file tree
Showing 5 changed files with 1 addition and 199 deletions.
3 changes: 0 additions & 3 deletions libinterp/octave-value/ov-base.cc
Original file line number Diff line number Diff line change
Expand Up @@ -99,9 +99,6 @@ std::string btyp_class_name[btyp_num_types+1] =
DEFINE_OV_TYPEID_FUNCTIONS_AND_DATA (octave_base_value,
"<unknown type>", "unknown");

// DEPRECATED in Octave 8.
bool Vsparse_auto_mutate = false;

#if defined (HAVE_PRAGMA_GCC_DIAGNOSTIC)
// Disable this warning for the use of the "count" member variable in
// the default constructor. Push the current state so we can restore
Expand Down
3 changes: 0 additions & 3 deletions libinterp/octave-value/ov-base.h
Original file line number Diff line number Diff line change
Expand Up @@ -1010,9 +1010,6 @@ octave_base_dld_value : public octave_base_value
octave::auto_shlib m_containing_dynamic_library;
};

OCTAVE_DEPRECATED (8, "Vsparse_auto_mutate is obsolete and is now always false")
extern OCTINTERP_API bool Vsparse_auto_mutate;

// Utility function to convert C++ arguments used in subsref/subsasgn into an
// octave_value_list object that can be used to call a function/method in the
// interpreter.
Expand Down
4 changes: 1 addition & 3 deletions scripts/deprecated/module.mk
Original file line number Diff line number Diff line change
@@ -1,9 +1,7 @@
FCN_FILE_DIRS += %reldir%

%canon_reldir%_FCN_FILES = \
%reldir%/.oct-config \
%reldir%/shift.m \
%reldir%/sparse_auto_mutate.m
%reldir%/.oct-config

%canon_reldir%dir = $(fcnfiledir)/deprecated

Expand Down
115 changes: 0 additions & 115 deletions scripts/deprecated/shift.m

This file was deleted.

75 changes: 0 additions & 75 deletions scripts/deprecated/sparse_auto_mutate.m

This file was deleted.

0 comments on commit 34f3152

Please sign in to comment.