diff options
author | Emiel Bruijntjes <emiel.bruijntjes@copernica.com> | 2014-03-13 16:24:01 +0100 |
---|---|---|
committer | Emiel Bruijntjes <emiel.bruijntjes@copernica.com> | 2014-03-13 16:24:01 +0100 |
commit | 0c244b567d251a0bb0069c24090ce3a578f7c886 (patch) | |
tree | 21b0917b075dce332cb67e6b5fc00e11059dcdaa /documentation | |
parent | 40287b042fc252dbf348ae386cf3c9e3cab95d63 (diff) |
ensure that to __to*() functions always return a Value object, fixed compile errors in example
Diffstat (limited to 'documentation')
-rw-r--r-- | documentation/special-features.html | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/documentation/special-features.html b/documentation/special-features.html index 1569e5f..763f30d 100644 --- a/documentation/special-features.html +++ b/documentation/special-features.html @@ -192,7 +192,7 @@ public: * Cast the object to a string * @return std::string */ - std::string Php::Value __toString() + std::string __toString() { return std::to_string(_value); } |