diff options
Diffstat (limited to 'source/core/slang-string.h')
| -rw-r--r-- | source/core/slang-string.h | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/source/core/slang-string.h b/source/core/slang-string.h index 5119dac8f..e8ee76397 100644 --- a/source/core/slang-string.h +++ b/source/core/slang-string.h @@ -4,6 +4,7 @@ #include <string.h> #include <cstdlib> #include <stdio.h> +#include <iostream> #include "slang-smart-pointer.h" #include "slang-common.h" @@ -1038,6 +1039,7 @@ namespace Slang length -= actualDelLength; } #endif + friend std::ostream& operator<< (std::ostream& stream, const String& s); void Clear() { @@ -1051,4 +1053,6 @@ namespace Slang float StringToFloat(const String & str); } +std::ostream& operator<< (std::ostream& stream, const Slang::String& s); + #endif |
