From 1f4faff83e1d327a385aa6acea75e5dfbf6781b3 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?L=C3=A9a=20Saviot?= Date: Fri, 21 Sep 2018 16:09:26 +0200 Subject: [PATCH] [poincare] Remove unused code --- poincare/include/poincare/expression_node.h | 5 ----- 1 file changed, 5 deletions(-) diff --git a/poincare/include/poincare/expression_node.h b/poincare/include/poincare/expression_node.h index 76e644d10..977c7bb85 100644 --- a/poincare/include/poincare/expression_node.h +++ b/poincare/include/poincare/expression_node.h @@ -107,11 +107,6 @@ public: virtual float characteristicXRange(Context & context, Preferences::AngleUnit angleUnit) const; bool isOfType(Type * types, int length) const; - // Useful to avoid parsing incorrect expressions as cos(2,3,4) - virtual bool hasValidNumberOfOperands(int nbChildren) const { return numberOfChildren() == nbChildren; } - - /* Comparison */ - /* Simplification */ /* SimplificationOrder returns: * 1 if e1 > e2