Welcome to mirror list, hosted at ThFree Co, Russian Federation.

github.com/windirstat/llfio.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
Diffstat (limited to 'include/llfio/v2.0/detail/impl/posix/statfs.ipp')
-rw-r--r--include/llfio/v2.0/detail/impl/posix/statfs.ipp2
1 files changed, 1 insertions, 1 deletions
diff --git a/include/llfio/v2.0/detail/impl/posix/statfs.ipp b/include/llfio/v2.0/detail/impl/posix/statfs.ipp
index b3e819b0..a853a418 100644
--- a/include/llfio/v2.0/detail/impl/posix/statfs.ipp
+++ b/include/llfio/v2.0/detail/impl/posix/statfs.ipp
@@ -164,7 +164,7 @@ LLFIO_HEADERS_ONLY_MEMFUNC_SPEC result<size_t> statfs_t::fill(const handle &h, s
*/
if(mountentries.size() > 1)
{
- OUTCOME_TRY(auto currentfilepath_, h.current_path());
+ OUTCOME_TRY(auto &&currentfilepath_, h.current_path());
string_view currentfilepath(currentfilepath_.native());
std::vector<std::pair<size_t, size_t>> scores(mountentries.size());
//std::cout << "*** For matching mount entries to file with path " << currentfilepath << ":\n";