Skip to content

Commit

Permalink
Add files via upload
Browse files Browse the repository at this point in the history
  • Loading branch information
javadsaberlatibari authored Mar 15, 2024
1 parent 33aaa7f commit a8bf21d
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions wellcoordination/benchmark/pnset-crdt.hpp
Original file line number Diff line number Diff line change
Expand Up @@ -49,8 +49,8 @@ class PNSet : public ReplicatedObject
PNSet(PNSet &obj) : ReplicatedObject(obj)
{
//state
pnsetsource= obj.pnsetsource;
pnsetremote= obj.pnsetremote;
std::memcpy(pnsetsource, obj.pnsetsource, sizeof(pnsetsource));
std::memcpy(pnsetremote, obj.pnsetremote, sizeof(pnsetremote));
arraysizesource= obj.arraysizesource;
arraysizeremote= obj.arraysizeremote;
setsizesource=obj.setsizesource;
Expand Down

0 comments on commit a8bf21d

Please sign in to comment.