aboutsummaryrefslogtreecommitdiff
path: root/src/secp256k1/include/secp256k1_ecdh.h
diff options
context:
space:
mode:
authorMartin Leitner-Ankerl <martin.ankerl@gmail.com>2023-03-26 14:40:32 +0200
committerMartin Leitner-Ankerl <martin.ankerl@gmail.com>2023-03-26 15:49:52 +0200
commitbfb9291a8661fe5b26c14ed755cfa89d27c37110 (patch)
treeea607b8f5cc1305319dec6b60666420e8209dbdb /src/secp256k1/include/secp256k1_ecdh.h
parentfffc86f49f4eeb811b8438bc1b7f8d9e05882c6f (diff)
util: implement prevector's move ctor & move assignment
Using swap() was rather wasteful because it had to copy the whole direct memory data twice. Also, due to the swap() in move assignment the moved-from object might hold on to unused memory for longer than necessary.
Diffstat (limited to 'src/secp256k1/include/secp256k1_ecdh.h')
0 files changed, 0 insertions, 0 deletions