summaryrefslogtreecommitdiff
path: root/include/extension.h
diff options
context:
space:
mode:
authorEmiel Bruijntjes <emiel.bruijntjes@copernica.com>2014-04-10 13:01:33 +0200
committerEmiel Bruijntjes <emiel.bruijntjes@copernica.com>2014-04-10 13:01:33 +0200
commit993e905ac4ad8d4439124390874b4a787969f09d (patch)
tree752e4a51ddb21c5df6c3b838cb83a267b683bd5b /include/extension.h
parentec18c8779c6a806c6cbeb5fe12446955cd688221 (diff)
Namespace::add() methods were hidden
Diffstat (limited to 'include/extension.h')
-rw-r--r--include/extension.h7
1 files changed, 7 insertions, 0 deletions
diff --git a/include/extension.h b/include/extension.h
index e18e787..8f3dc97 100644
--- a/include/extension.h
+++ b/include/extension.h
@@ -131,6 +131,13 @@ public:
// allow chaining
return *this;
}
+
+ /**
+ * Because the add function exists in both the Namespace base class
+ * as well as this extended Extension class, we have to tell the compiler
+ * that the add methods from the base are accessble too
+ */
+ using Namespace::add;
/**
* The total number of php.ini variables