Fix Linux build

r367274 broke it

llvm-svn: 367276
This commit is contained in:
JF Bastien 2019-07-29 23:28:44 +00:00
parent 268a83e39c
commit d9e55fa521
1 changed files with 1 additions and 1 deletions

View File

@ -188,7 +188,7 @@ void DirectoryWatcherLinux::InotifyPollingLoop() {
alignas(struct inotify_event) char buffer[EventBufferLength];
};
auto ManagedBuffer = llvm::make_unique<Buffer>();
char *const Buf = ManagedBuffer.buffer;
char *const Buf = ManagedBuffer->buffer;
const int EpollFD = epoll_create1(EPOLL_CLOEXEC);
if (EpollFD == -1) {