• Lee Howes's avatar
    Modify Future::getTryVia to be r-value qualified and destructive · f5744f58
    Lee Howes authored
    Summary: For consistency with get() make getTryVia r-value qualified and move the result out. This has the benefit of removing surprise copies in code that already operated on a temporary future but ended up with an l-value reference to copy from as a result of this operation.
    
    Reviewed By: ispeters
    
    Differential Revision: D23610051
    
    fbshipit-source-id: a11344b9c8680f9498abc307ba1c7c793e3403e1
    f5744f58
Future-inl.h 79.1 KB