summaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorEric Fiselier <eric@efcs.ca>2018-07-20 08:36:45 +0000
committerEric Fiselier <eric@efcs.ca>2018-07-20 08:36:45 +0000
commit7b1b6ca284ca4dfc1f67e4bf88ccb5a5c551e152 (patch)
tree2198435cd7e2e0dc94290c3f6de3391ea0c4d0eb /src
parent77c9cf44e39b62df1c0e7cafd00390623ec37c4e (diff)
downloadlibcxx-7b1b6ca284ca4dfc1f67e4bf88ccb5a5c551e152.tar.gz
adjust incorrect comment
git-svn-id: https://llvm.org/svn/llvm-project/libcxx/trunk@337532 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'src')
-rw-r--r--src/experimental/filesystem/operations.cpp3
1 files changed, 2 insertions, 1 deletions
diff --git a/src/experimental/filesystem/operations.cpp b/src/experimental/filesystem/operations.cpp
index 126aec501..28851028a 100644
--- a/src/experimental/filesystem/operations.cpp
+++ b/src/experimental/filesystem/operations.cpp
@@ -1426,7 +1426,8 @@ error_code directory_entry::__do_refresh() noexcept {
__data_.__cache_type_ = directory_entry::_RefreshSymlinkUnresolved;
return error_code{};
}
- // Otherwise, we resolved the link as not existing. That's OK.
+ // Otherwise, we either resolved the link, potentially as not existing.
+ // That's OK.
__data_.__cache_type_ = directory_entry::_RefreshSymlink;
}