MCPcopy Create free account
hub / github.com/OpenArkStudio/ARK / Swap

Method Swap

src/base/AFStringPod.hpp:254–267  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

252 }
253
254 void Swap(hash_t& src)
255 {
256 node_t** tmp_buckets = src.mpBuckets;
257 size_t tmp_size = src.mnSize;
258 size_t tmp_count = src.mnCount;
259
260 src.mpBuckets = this->mpBuckets;
261 src.mnSize = this->mnSize;
262 src.mnCount = this->mnCount;
263 this->mpBuckets = tmp_buckets;
264 this->mnSize = tmp_size;
265 this->mnCount = tmp_count;
266 mxAlloc.Swap(src.mxAlloc);
267 }
268
269 void Clear()
270 {

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected