From 09e75d14e561ae58db0ca8fdb37921c40fa8d420 Mon Sep 17 00:00:00 2001 From: Mikaƫl Capelle Date: Mon, 25 May 2020 17:59:07 +0200 Subject: Fix comment for prefetch(). --- src/modinfowithconflictinfo.cpp | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) (limited to 'src/modinfowithconflictinfo.cpp') diff --git a/src/modinfowithconflictinfo.cpp b/src/modinfowithconflictinfo.cpp index 7181bef9..b0edf581 100644 --- a/src/modinfowithconflictinfo.cpp +++ b/src/modinfowithconflictinfo.cpp @@ -307,7 +307,8 @@ void ModInfoWithConflictInfo::diskContentModified() { } void ModInfoWithConflictInfo::prefetch() { - // Populating the tree to 1-depth: + // Populating the tree to 1-depth (IFileTree is lazy, so size() forces the + // tree to populate the first level): contentFileTree()->size(); } -- cgit v1.3.1