From 8b156452ddd1918821be07bd108e327975eaf446 Mon Sep 17 00:00:00 2001 From: Ed Tanous Date: Fri, 12 Oct 2018 11:09:26 -0700 Subject: Fix an implementation comment It was pointed out that a code comment mixed up the difference between ascending and descending. This resolves that issue. Change-Id: Ie71862b03bc23d9c20ac29ca78c076e05e47476a --- include/webassets.hpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'include/webassets.hpp') diff --git a/include/webassets.hpp b/include/webassets.hpp index ae8effd37e..1c2fa3e8c3 100644 --- a/include/webassets.hpp +++ b/include/webassets.hpp @@ -57,7 +57,7 @@ template void requestRoutes(Crow& app) // In certain cases, we might have both a gzipped version of the file AND a // non-gzipped version. To avoid duplicated routes, we need to make sure we // get the gzipped version first. Because the gzipped path should be longer - // than the non gzipped path, if we sort in Ascending order, we should be + // than the non gzipped path, if we sort in descending order, we should be // guaranteed to get the gzip version first. std::vector paths(filesystem::begin(dirIter), filesystem::end(dirIter)); -- cgit v1.2.3