PIIOTextStream(PIString * string) now with mandatory Mode
This commit is contained in:
@@ -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);
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user