PIIOTextStream(PIString * string) now with mandatory Mode

This commit is contained in:
2024-05-02 21:35:29 +03:00
parent d97798d063
commit a86e8f7b58
2 changed files with 3 additions and 3 deletions

View File

@@ -81,8 +81,8 @@ public:
//! \~english Contructs %PIIOTextStream for "string" string
//! \~russian Создает %PIIOTextStream для строки "string"
PIIOTextStream(PIString * string): PITextStream<PIIOBinaryStream>(&bin_stream) {
io_string = new PIIOString(string);
PIIOTextStream(PIString * string, PIIODevice::DeviceMode mode): PITextStream<PIIOBinaryStream>(&bin_stream) {
io_string = new PIIOString(string, mode);
bin_stream.setDevice(io_string);
}