The problem is that with the std::move the compiler can not do copy elision and you end up with less efficient code than without the std::move. https://developers.redhat.com/blog/2019/04/12/understanding-when-not-to-stdmove-in-c/ -- You are receiving this because you are subscribed to this thread. Reply to this email directly or view it on GitHub: https://github.com/xrootd/xrootd/pull/1209#issuecomment-635528477 ######################################################################## Use REPLY-ALL to reply to list To unsubscribe from the XROOTD-DEV list, click the following link: https://listserv.slac.stanford.edu/cgi-bin/wa?SUBED1=XROOTD-DEV&A=1