mirror of
https://git.lyx.org/repos/lyx.git
synced 2024-11-22 18:08:10 +00:00
Remove unused methods
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
.
This commit is contained in:
parent
ebf09680da
commit
b3332f032c
@ -62,10 +62,6 @@ public:
|
||||
};
|
||||
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; }
|
||||
|
@ -70,6 +70,9 @@ What's new
|
||||
|
||||
- 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
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user