diff options
author | Ed Tanous <ed.tanous@intel.com> | 2018-10-12 21:09:26 +0300 |
---|---|---|
committer | Ed Tanous <ed.tanous@intel.com> | 2018-10-16 20:15:17 +0300 |
commit | 8b156452ddd1918821be07bd108e327975eaf446 (patch) | |
tree | d4a31279629da302bc3115e82ffb9d6da5b74d4b /include/webassets.hpp | |
parent | 7729513460a448df44993c2e3a1b6f4b605d19af (diff) | |
download | bmcweb-8b156452ddd1918821be07bd108e327975eaf446.tar.xz |
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
Diffstat (limited to 'include/webassets.hpp')
-rw-r--r-- | include/webassets.hpp | 2 |
1 files changed, 1 insertions, 1 deletions
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 <typename... Middlewares> void requestRoutes(Crow<Middlewares...>& 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<filesystem::directory_entry> paths(filesystem::begin(dirIter), filesystem::end(dirIter)); |