diff options
author | Emin Martinian <emin.martinian@gmail.com> | 2020-07-31 23:27:02 -0400 |
---|---|---|
committer | John Wiegley <johnw@newartisans.com> | 2020-08-13 22:33:51 -0700 |
commit | 718ba0e3139d365ffb7883cb2c937cfe23656506 (patch) | |
tree | 47ae8801b51df45edf5b674e674ab96c9efd3436 /src | |
parent | 8e55ba6929d1365e3f3f9441adcc94c92bc35330 (diff) | |
download | fork-ledger-718ba0e3139d365ffb7883cb2c937cfe23656506.tar.gz fork-ledger-718ba0e3139d365ffb7883cb2c937cfe23656506.tar.bz2 fork-ledger-718ba0e3139d365ffb7883cb2c937cfe23656506.zip |
Fix whitespace/tabs
Diffstat (limited to 'src')
-rw-r--r-- | src/textual.cc | 12 |
1 files changed, 6 insertions, 6 deletions
diff --git a/src/textual.cc b/src/textual.cc index a629048f..b4e51fbe 100644 --- a/src/textual.cc +++ b/src/textual.cc @@ -753,12 +753,12 @@ void instance_t::include_directive(char * line) if (exists(parent_path)) { filesystem::directory_iterator end; - // Sort parent_path since on some file systems it is unsorted. - std::vector<path> sorted_parent_path; - std::copy(filesystem::directory_iterator(parent_path), - filesystem::directory_iterator(), - std::back_inserter(sorted_parent_path)); - std::sort(sorted_parent_path.begin(), sorted_parent_path.end()); + // Sort parent_path since on some file systems it is unsorted. + std::vector<path> sorted_parent_path; + std::copy(filesystem::directory_iterator(parent_path), + filesystem::directory_iterator(), + std::back_inserter(sorted_parent_path)); + std::sort(sorted_parent_path.begin(), sorted_parent_path.end()); for (std::vector<path>::const_iterator iter(sorted_parent_path.begin()), it_end(sorted_parent_path.end()); iter != it_end; ++iter) { |