mirror of
https://github.com/fish-shell/fish-shell.git
synced 2026-05-04 20:51:15 -03:00
[muparser] Clean up ParserCallback interface
Remove Clone() method and mark some functions as defaulted.
This commit is contained in:
@@ -46,7 +46,7 @@ namespace mu {
|
||||
|
||||
\author (C) 2004-2011 Ingo Berg
|
||||
*/
|
||||
class ParserCallback {
|
||||
class ParserCallback final {
|
||||
public:
|
||||
ParserCallback(fun_type0 a_pFun, bool a_bAllowOpti);
|
||||
ParserCallback(fun_type1 a_pFun, bool a_bAllowOpti, int a_iPrec = -1,
|
||||
@@ -70,8 +70,6 @@ class ParserCallback {
|
||||
ParserCallback();
|
||||
ParserCallback(const ParserCallback& a_Fun);
|
||||
|
||||
ParserCallback* Clone() const;
|
||||
|
||||
bool IsOptimizable() const;
|
||||
void* GetAddr() const;
|
||||
ECmdCode GetCode() const;
|
||||
|
||||
Reference in New Issue
Block a user