From 2ac4cc0a1bcd55be456aa12c1b6d7f52a5725fed Mon Sep 17 00:00:00 2001 From: Nobuyoshi Nakada Date: Mon, 8 Dec 2025 14:01:39 +0900 Subject: Remove `RUBY_FL_DUPPED` deprecated for 4 years --- include/ruby/internal/fl_type.h | 17 ----------------- 1 file changed, 17 deletions(-) (limited to 'include/ruby/internal') diff --git a/include/ruby/internal/fl_type.h b/include/ruby/internal/fl_type.h index 0f6bb26cac..2afb3f1fa3 100644 --- a/include/ruby/internal/fl_type.h +++ b/include/ruby/internal/fl_type.h @@ -363,23 +363,6 @@ ruby_fl_type { RUBY_FL_SINGLETON = RUBY_FL_USER1, }; -enum { - /** - * @deprecated This flag once was a thing back in the old days, but makes - * no sense any longer today. Exists here for backwards - * compatibility only. You can safely forget about it. - */ - RUBY_FL_DUPPED - -#if defined(RBIMPL_HAVE_ENUM_ATTRIBUTE) - RBIMPL_ATTR_DEPRECATED(("It seems there is no actual usage of this enum.")) -#elif defined(_MSC_VER) -# pragma deprecated(RUBY_FL_DUPPED) -#endif - - = (int)RUBY_T_MASK -}; - #undef RBIMPL_HAVE_ENUM_ATTRIBUTE RBIMPL_SYMBOL_EXPORT_BEGIN() -- cgit v1.2.3