mirror of
https://github.com/ElementsProject/elements.git
synced 2026-08-18 13:17:55 +02:00
Use DataStream where possible
This commit is contained in:
parent
fa9becfe1c
commit
fa29e73cda
48 changed files with 144 additions and 151 deletions
|
|
@ -59,8 +59,8 @@ public:
|
|||
--pos;
|
||||
assert(v == real_vector[pos]);
|
||||
}
|
||||
CDataStream ss1(SER_DISK, 0);
|
||||
CDataStream ss2(SER_DISK, 0);
|
||||
DataStream ss1{};
|
||||
DataStream ss2{};
|
||||
ss1 << real_vector;
|
||||
ss2 << pre_vector;
|
||||
assert(ss1.size() == ss2.size());
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue