mirror of
https://github.com/facebook/sapling.git
synced 2024-10-06 06:47:41 +03:00
fix MSVC CMake build
Reviewed By: genevievehelsel Differential Revision: D44484403 fbshipit-source-id: 9ceca9a0c9deeff31727501f0b35405c781aff1a
This commit is contained in:
parent
38b4387c69
commit
76eaffa280
@ -4180,7 +4180,7 @@ ImmediateFuture<uint64_t> TreeInode::invalidateChildrenNotMaterialized(
|
|||||||
// When the mount is shutting down, let's make sure to terminate quickly so
|
// When the mount is shutting down, let's make sure to terminate quickly so
|
||||||
// unmount is not blocked for a potential very long amount of time.
|
// unmount is not blocked for a potential very long amount of time.
|
||||||
if (getMount()->getState() == EdenMount::State::SHUTTING_DOWN) {
|
if (getMount()->getState() == EdenMount::State::SHUTTING_DOWN) {
|
||||||
return (uint64_t)0;
|
return 0u;
|
||||||
}
|
}
|
||||||
|
|
||||||
return getLoadedOrRememberedTreeChildren(this, getInodeMap(), context)
|
return getLoadedOrRememberedTreeChildren(this, getInodeMap(), context)
|
||||||
|
@ -2227,7 +2227,7 @@ ImmediateFuture<uint64_t> EdenServer::garbageCollectWorkingCopy(
|
|||||||
if (!lease) {
|
if (!lease) {
|
||||||
XLOG(DBG6) << "Not running GC for: " << mount->getPath()
|
XLOG(DBG6) << "Not running GC for: " << mount->getPath()
|
||||||
<< ", another GC is already in progress";
|
<< ", another GC is already in progress";
|
||||||
return (uint64_t)0;
|
return 0u;
|
||||||
}
|
}
|
||||||
|
|
||||||
auto mountPath = mount->getPath();
|
auto mountPath = mount->getPath();
|
||||||
|
Loading…
Reference in New Issue
Block a user