diff options
author | Emiel Bruijntjes <emiel.bruijntjes@copernica.com> | 2015-04-13 11:04:01 +0200 |
---|---|---|
committer | Emiel Bruijntjes <emiel.bruijntjes@copernica.com> | 2015-04-13 11:04:01 +0200 |
commit | 9a1c12578b97507d676081bf9a395248f9904a8c (patch) | |
tree | 3d81d2956845773e27a31f715ca7eda5e5c812d2 /zend | |
parent | 6dcadfb26de2ce9117f58986d543c521143df1c2 (diff) |
fix casting error
Diffstat (limited to 'zend')
-rw-r--r-- | zend/extensionpath.h | 9 |
1 files changed, 9 insertions, 0 deletions
diff --git a/zend/extensionpath.h b/zend/extensionpath.h index c46319a..1c5e87d 100644 --- a/zend/extensionpath.h +++ b/zend/extensionpath.h @@ -64,6 +64,15 @@ public: { return _path; } + + /** + * Cast to const-char* + * @return const char * + */ + operator const char * () const + { + return _path.c_str(); + } }; /** |