diff options
author | valmat <ufabiz@gmail.com> | 2014-04-13 22:32:28 +0600 |
---|---|---|
committer | valmat <ufabiz@gmail.com> | 2014-04-13 22:32:28 +0600 |
commit | e6660c521ea5d03e0caffa2a1f69e6e28982ab8b (patch) | |
tree | bc0020ed18ab36337615bf722162c3e70ca4eeae /zend/ini.cpp | |
parent | 9b2ac923e4bf98ca76441362b1d15e58de4297c8 (diff) |
Fix linker error
Diffstat (limited to 'zend/ini.cpp')
-rw-r--r-- | zend/ini.cpp | 11 |
1 files changed, 11 insertions, 0 deletions
diff --git a/zend/ini.cpp b/zend/ini.cpp index e7d9292..8a6fe11 100644 --- a/zend/ini.cpp +++ b/zend/ini.cpp @@ -78,6 +78,17 @@ IniValue::operator double() const } /** + * Custom output stream operator + * @param stream + * @param ini_val + * @return ostream + */ +std::ostream &operator<<(std::ostream &stream, const IniValue &ini_val) +{ + return stream << static_cast<const char*>(ini_val); +} + +/** * End of namespace */ } |