2
0
mirror of https://github.com/boostorg/wave.git synced 2026-02-02 09:22:19 +00:00

Minor optimisation.

[SVN r27686]
This commit is contained in:
Hartmut Kaiser
2005-03-16 07:45:49 +00:00
parent 892cd476fc
commit 16efc8beec

View File

@@ -146,9 +146,9 @@ bool include_pathes::find_include_file (std::string &s,
// with the directory in the search path after the one where the current
// file was found.
fs::path file_path (current_file, fs::native);
for (/**/; it != include_pathes_end; ++it) {
fs::path currpath ((*it).string(), fs::native);
fs::path file_path (current_file, fs::native);
if (std::equal(currpath.begin(), currpath.end(), file_path.begin()))
{
++it; // start searching with the next directory