Skip to content
GitLab
Projects
Groups
Snippets
Help
Loading...
Help
What's new
10
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
Open sidebar
Mathieu Westphal
KWSys
Commits
c5529406
Commit
c5529406
authored
Apr 05, 2016
by
Ben Boeckel
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
SystemTools: use std::string::empty
parent
5c6f7836
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
1 addition
and
1 deletion
+1
-1
SystemTools.cxx
SystemTools.cxx
+1
-1
No files found.
SystemTools.cxx
View file @
c5529406
...
...
@@ -3331,7 +3331,7 @@ std::string SystemTools::CollapseFullPath(const std::string& in_path,
SystemTools
::
SplitPath
(
in_path
,
path_components
);
// If the input path is relative, start with a base path.
if
(
path_components
[
0
].
length
()
==
0
)
{
if
(
path_components
[
0
].
empty
()
)
{
std
::
vector
<
std
::
string
>
base_components
;
if
(
in_base
)
{
// Use the given base path.
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment