apollo icon indicating copy to clipboard operation
apollo copied to clipboard

fix: move task such as it is destory after complete, to release potential shared ptr holding

Open superMan-1012 opened this issue 1 year ago • 1 comments

This commit refactors the BoundedQueue class to intelligently handle element assignments by distinguishing between move-assignable and non-move-assignable types. By introducing templated assign functions and updating the Dequeue method accordingly, the queue now benefits from optimized performance without sacrificing compatibility

superMan-1012 avatar Jan 08 '25 09:01 superMan-1012

CLA assistant check
All committers have signed the CLA.

CLAassistant avatar Jan 08 '25 09:01 CLAassistant