summaryrefslogtreecommitdiff
path: root/include/constant.h
diff options
context:
space:
mode:
authorEmiel Bruijntjes <emiel.bruijntjes@copernica.com>2015-01-25 19:52:06 +0100
committerEmiel Bruijntjes <emiel.bruijntjes@copernica.com>2015-01-25 19:52:06 +0100
commit110f379c083a9e061d2337efabb86f12ce0fa750 (patch)
tree3c5e541532607246feeecd8d9dea3f36f803071f /include/constant.h
parentb42532f1f49d9f404b100fe1a441de0c131673ee (diff)
added functions Php::constant() to retrieve the value of a constant, and Php::defined() to find out if a constant is defined
Diffstat (limited to 'include/constant.h')
-rw-r--r--include/constant.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/include/constant.h b/include/constant.h
index 36b3417..5e18792 100644
--- a/include/constant.h
+++ b/include/constant.h
@@ -66,7 +66,7 @@ public:
* @param clss Class to which the constant is added
* @internal
*/
- void addTo(ClassBase &clss);
+ void addTo(ClassBase &clss) const;
private:
/**