summaryrefslogtreecommitdiff
path: root/src/arithmetic.h
diff options
context:
space:
mode:
authorEmiel Bruijntjes <emiel.bruijntjes@copernica.com>2014-03-15 21:57:08 +0100
committerEmiel Bruijntjes <emiel.bruijntjes@copernica.com>2014-03-15 21:57:08 +0100
commit895f6315eb306a677bddba86980de8f8ee824efe (patch)
tree75380e6151407cba36ea2fc186268290a363774b /src/arithmetic.h
parent3bcd6e21d1142b5ec35f99c4bdcd925bf7ae5083 (diff)
removed HardCoded class because it turned out to be too difficult to implement it for now
Diffstat (limited to 'src/arithmetic.h')
-rw-r--r--src/arithmetic.h11
1 files changed, 0 insertions, 11 deletions
diff --git a/src/arithmetic.h b/src/arithmetic.h
index 00d5641..20e346e 100644
--- a/src/arithmetic.h
+++ b/src/arithmetic.h
@@ -144,17 +144,6 @@ public:
* @param value
* @return Value
*/
- Value apply(const HardCoded &value)
- {
- // convert string to integer
- return apply(atoi(value.buffer()));
- }
-
- /**
- * Apply a string (representing a number), and return a new value object after running the arithmetic function
- * @param value
- * @return Value
- */
Value apply(double value)
{
return Value(F<double>()(_value->floatValue(), value));