Skip to content
GitLab
Explore
Sign in
Primary navigation
Search or go to…
Project
C
corpus2
Manage
Activity
Members
Labels
Plan
Issues
4
Issue boards
Milestones
Wiki
Redmine
Code
Merge requests
0
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Snippets
Build
Pipelines
Jobs
Pipeline schedules
Artifacts
Deploy
Releases
Container Registry
Operate
Environments
Monitor
Incidents
Analyze
Value stream analytics
Contributor analytics
CI/CD analytics
Repository analytics
Help
Help
Support
GitLab documentation
Compare GitLab plans
Community forum
Contribute to GitLab
Provide feedback
Keyboard shortcuts
?
Snippets
Groups
Projects
Show more breadcrumbs
Analysers
corpus2
Commits
e799f8af
Commit
e799f8af
authored
13 years ago
by
ilor
Browse files
Options
Downloads
Patches
Plain Diff
*proper* fix for the boost::fs issue
parent
aed986c9
Branches
Branches containing commit
No related merge requests found
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
libpwrutils/pathsearch.cpp
+1
-1
1 addition, 1 deletion
libpwrutils/pathsearch.cpp
with
1 addition
and
1 deletion
libpwrutils/pathsearch.cpp
+
1
−
1
View file @
e799f8af
...
...
@@ -121,7 +121,7 @@ std::vector<std::string> PathSearcherBase::list_files(const std::string& suffix)
for
(
directory_iterator
i
(
p
);
i
!=
directory_iterator
();
++
i
)
{
boost
::
filesystem
::
path
in
=
i
->
path
();
if
(
in
.
extension
()
==
suffix
)
{
#if BOOST_FILESYSTEM_VERSION == 2
#if
!defined(BOOST_FILESYSTEM_VERSION) ||
BOOST_FILESYSTEM_VERSION == 2
out
.
push_back
(
in
.
stem
());
#else
out
.
push_back
(
in
.
stem
().
string
());
...
...
This diff is collapsed.
Click to expand it.
Preview
0%
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Save comment
Cancel
Please
register
or
sign in
to comment