mirror of
https://github.com/facebook/sapling.git
synced 2024-10-05 14:28:17 +03:00
4aa901fe1f
Summary: Provide a no-arg constructor, for C++20 This avoids the following errors: ``` eden/fs/nfs/rpc/Server.h:234:63: error: no matching constructor for initialization of 'facebook::eden::RpcTcpHandler::State' explicit StateWrapper(folly::EventBase* evb) : evb_{evb}, state_{} {} ^ ~~ eden/fs/nfs/rpc/Server.h:221:5: note: candidate constructor not viable: requires single argument 'state', but no arguments were provided State(const State& state) = delete; ^ eden/fs/nfs/rpc/Server.h:223:5: note: candidate constructor not viable: requires single argument 'state', but no arguments were provided State(State&& state) = delete; ``` Differential Revision: D32521305 fbshipit-source-id: 70d53db2093b41b58d4abc0b20389b0169b7a2e3 |
||
---|---|---|
.. | ||
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 |