diff options
Diffstat (limited to 'src/base/io/MemoryStream.cpp')
-rw-r--r-- | src/base/io/MemoryStream.cpp | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/base/io/MemoryStream.cpp b/src/base/io/MemoryStream.cpp index 4c650f3e..bba0e618 100644 --- a/src/base/io/MemoryStream.cpp +++ b/src/base/io/MemoryStream.cpp @@ -14,10 +14,10 @@ MemoryStream::MemoryStream( position_(0), release_func_(std::move(release_func)) { if (!buffer) { - throw Exception(u"Buffer is nullptr"); + throw Exception("Buffer is nullptr"); } if (size <= 0) { - throw Exception(u"Size is 0 or negative."); + throw Exception("Size is 0 or negative."); } } |