Skip to content
GitLab
Explore
Sign in
Primary navigation
Search or go to…
Project
D
DD4hep
Manage
Activity
Members
Code
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Help
Help
Support
GitLab documentation
Compare GitLab plans
Community forum
Contribute to GitLab
Provide feedback
Keyboard shortcuts
?
Snippets
Groups
Projects
Show more breadcrumbs
cepc
externals
mirroring
DD4hep
Commits
ab9a6f45
Commit
ab9a6f45
authored
5 years ago
by
Marko Petric
Committed by
MarkusFrankATcernch
5 years ago
Browse files
Options
Downloads
Patches
Plain Diff
Replace ptr_fun with lambda
parent
2b3c9008
No related branches found
No related tags found
No related merge requests found
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
GaudiPluginService/src/PluginService.cpp
+2
-2
2 additions, 2 deletions
GaudiPluginService/src/PluginService.cpp
with
2 additions
and
2 deletions
GaudiPluginService/src/PluginService.cpp
+
2
−
2
View file @
ab9a6f45
...
...
@@ -49,14 +49,14 @@ namespace {
static
inline
std
::
string
&
ltrim
(
std
::
string
&
s
)
{
s
.
erase
(
s
.
begin
(),
std
::
find_if
(
s
.
begin
(),
s
.
end
(),
std
::
not1
(
std
::
ptr_fun
<
int
,
int
>
(
std
::
isspace
))
));
[](
int
c
)
{
return
!
std
::
isspace
(
c
);}
));
return
s
;
}
// trim from end
static
inline
std
::
string
&
rtrim
(
std
::
string
&
s
)
{
s
.
erase
(
std
::
find_if
(
s
.
rbegin
(),
s
.
rend
(),
std
::
not1
(
std
::
ptr_fun
<
int
,
int
>
(
std
::
isspace
))
)
[](
int
c
)
{
return
!
std
::
isspace
(
c
);}
)
.
base
(),
s
.
end
());
return
s
;
...
...
This diff is collapsed.
Click to expand it.
Preview
0%
Loading
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