summaryrefslogtreecommitdiff
path: root/documentation/special-features.html
diff options
context:
space:
mode:
authorEmiel Bruijntjes <emiel.bruijntjes@copernica.com>2014-03-13 16:24:01 +0100
committerEmiel Bruijntjes <emiel.bruijntjes@copernica.com>2014-03-13 16:24:01 +0100
commit0c244b567d251a0bb0069c24090ce3a578f7c886 (patch)
tree21b0917b075dce332cb67e6b5fc00e11059dcdaa /documentation/special-features.html
parent40287b042fc252dbf348ae386cf3c9e3cab95d63 (diff)
ensure that to __to*() functions always return a Value object, fixed compile errors in example
Diffstat (limited to 'documentation/special-features.html')
-rw-r--r--documentation/special-features.html2
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);
}