mirror of
https://github.com/facebook/sapling.git
synced 2024-10-07 23:38:50 +03:00
60645f897d
Summary: Avoid this compilation error: ``` [ 23%] Building CXX object eden/fs/fuse/CMakeFiles/eden_fuse.dir/Dispatcher.cpp.o In file included from /Users/wez/fbsource/fbcode/eden/oss/eden/fs/fuse/Dispatcher.cpp:10: In file included from /Users/wez/fbsource/fbcode/eden/oss/eden/fs/fuse/Dispatcher.h:12: In file included from /Users/wez/fbsource/fbcode/eden/oss/external/install/include/folly/Portability.h:19: In file included from /Library/Developer/CommandLineTools/usr/include/c++/v1/cstddef:110: /Library/Developer/CommandLineTools/usr/include/c++/v1/type_traits:3141:38: error: incomplete type 'facebook::eden::DirList' used in type trait expression : public integral_constant<bool, __is_constructible(_Tp, _Args...)> ^ /Users/wez/fbsource/fbcode/eden/oss/external/install/include/folly/futures/Future.h:146:36: note: in instantiation of template class 'std::__1::is_constructible<facebook::eden::DirList>' requested here typename std::enable_if<std::is_constructible<T, Args&&...>::value, int>:: ^ /Users/wez/fbsource/fbcode/eden/oss/external/install/include/folly/futures/Future.h:148:12: note: while substituting prior template arguments into non-type template parameter [with Args = <>] explicit FutureBase(in_place_t, Args&&... args); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /Users/wez/fbsource/fbcode/eden/oss/external/install/include/folly/futures/Future.h:115:7: note: while substituting deduced template arguments into function template 'FutureBase' [with Args = <>, $1 = (no value)] class FutureBase { ^ /Users/wez/fbsource/fbcode/eden/oss/eden/fs/fuse/Dispatcher.cpp:175:13: note: in instantiation of template class 'folly::Future<facebook::eden::DirList>' requested here Dispatcher::readdir(InodeNumber, DirList&&, off_t, uint64_t) { ^ /Users/wez/fbsource/fbcode/eden/oss/eden/fs/fuse/Dispatcher.h:35:7: note: forward declaration of 'facebook::eden::DirList' class DirList; ^ 1 error generated. ``` Reviewed By: chadaustin Differential Revision: D13475720 fbshipit-source-id: 2da1692010a82b73cbed71d996993cf5fc13af0e |
||
---|---|---|
.. | ||
fuse_tester | ||
privhelper | ||
test | ||
BufVec.cpp | ||
BufVec.h | ||
CMakeLists.txt | ||
DirList.cpp | ||
DirList.h | ||
Dispatcher.cpp | ||
Dispatcher.h | ||
EdenStats.cpp | ||
EdenStats.h | ||
FileHandle.h | ||
FileHandleBase.cpp | ||
FileHandleBase.h | ||
FuseChannel.cpp | ||
FuseChannel.h | ||
FuseTypes.cpp | ||
FuseTypes.h | ||
PollHandle.cpp | ||
PollHandle.h | ||
RequestData.cpp | ||
RequestData.h |