They actually lead to the following warning:
../../stable/src/mathed/InsetMath.h:236:26: warning: ‘virtual lyx::HullType lyx::InsetMath::getType() const’ was hidden [-Woverloaded-virtual=]
236 | virtual HullType getType() const;
| ^~~~~~~
In file included from ../../stable/src/insets/InsetLabel.cpp:36:
../../stable/src/mathed/InsetMathRef.h:65:20: note: by ‘static int lyx::InsetMathRef::getType(const lyx::docstring&)’
65 | static int getType(docstring const & name);
| ^~~~~~~
In master the removal of these methods occurred as part of
cf07d482.
};
static ref_type_info types[];
///
- static int getType(docstring const & name);
- ///
- static docstring const & getName(int type);
- ///
docstring const getTarget() const;
///
InsetCode lyxCode() const { return MATH_REF_CODE; }
- Fix wrong computation of what is an obviously fake PID number.
+- remove a pair of static methods that were unused and hid another
+ one.
+
* DOCUMENTATION AND LOCALIZATION