Support std::fstream in data structures and add file_compressorst to xml.
One tricky thing is that fstream does not have operator=, so the new file_compressorst requires a manually implemented one that skips it.develop
parent
e6901a87d3
commit
6046d68639
@ -0,0 +1,12 @@
|
||||
file_compressorst& operator=(const file_compressorst &in) {
|
||||
compressed = in.compressed;
|
||||
/* fstream cannot be assigned */
|
||||
in_buffer = in.in_buffer;
|
||||
in_buffersize = in.in_buffersize;
|
||||
in_buffer_amount_loaded = in.in_buffer_amount_loaded;
|
||||
in_buffer_position = in.in_buffer_position;
|
||||
out_buffer = in.out_buffer;
|
||||
out_buffersize = in.out_buffersize;
|
||||
out_buffer_amount_written = in.out_buffer_amount_written;
|
||||
return *this;
|
||||
}
|
@ -1 +1 @@
|
||||
Subproject commit 93606b34b78a94b201704adb5c9ae28af304cdb1
|
||||
Subproject commit 5541b66cef283e57c32551f69cc3fd87cff966d2
|
Loading…
Reference in New Issue