mirror of
https://github.com/facebook/sapling.git
synced 2024-10-05 14:28:17 +03:00
b02c805973
Summary: LockedPtrs used as temporaries within range expressions may go out of scope before the end of the loop. https://en.cppreference.com/w/cpp/language/range-for: > If range-expression returns a temporary, its lifetime is extended until the > end of the loop, as indicated by binding to the forwarding reference __range, > but beware that the lifetime of any temporary within range-expression is not > extended. Reviewed By: xavierd Differential Revision: D37904242 fbshipit-source-id: 915812e7bb4d19c333dc4c309261610884f8e61d |
||
---|---|---|
.. | ||
portmap | ||
rpc | ||
test | ||
testharness | ||
xdr | ||
CMakeLists.txt | ||
DirList.cpp | ||
DirList.h | ||
Mountd.cpp | ||
Mountd.h | ||
MountdRpc.cpp | ||
MountdRpc.h | ||
Nfsd3.cpp | ||
Nfsd3.h | ||
NfsDispatcher.cpp | ||
NfsDispatcher.h | ||
NfsdRpc.cpp | ||
NfsdRpc.h | ||
NfsRequestContext.cpp | ||
NfsRequestContext.h | ||
NfsServer.cpp | ||
NfsServer.h | ||
NfsUtils.cpp | ||
NfsUtils.h |