Skip to content
GitLab
Explore
Sign in
Primary navigation
Search or go to…
Project
Gaudi
Manage
Activity
Members
Labels
Plan
Issues
Issue boards
Milestones
Iterations
Requirements
Code
Merge requests
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Locked files
Build
Pipelines
Jobs
Pipeline schedules
Test cases
Artifacts
Deploy
Releases
Container Registry
Model registry
Operate
Environments
Monitor
Incidents
Analyze
Value stream analytics
Contributor analytics
CI/CD analytics
Repository analytics
Code review analytics
Issue analytics
Insights
Model experiments
Help
Help
Support
GitLab documentation
Compare GitLab plans
Community forum
Contribute to GitLab
Provide feedback
Keyboard shortcuts
?
Snippets
Groups
Projects
Show more breadcrumbs
Gaudi
Gaudi
Commits
74641229
Commit
74641229
authored
1 year ago
by
Gerhard Raven
Committed by
Marco Clemencic
1 year ago
Browse files
Options
Downloads
Patches
Plain Diff
deprecate no longer required concat_alternatives
parent
b9abf6ff
No related branches found
Branches containing commit
No related tags found
Tags containing commit
1 merge request
!1513
deprecate no longer required concat_alternatives
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
GaudiExamples/src/FunctionalAlgorithms/selector.cpp
+1
-3
1 addition, 3 deletions
GaudiExamples/src/FunctionalAlgorithms/selector.cpp
GaudiFunctional/include/Gaudi/Functional/utilities.h
+3
-3
3 additions, 3 deletions
GaudiFunctional/include/Gaudi/Functional/utilities.h
with
4 additions
and
6 deletions
GaudiExamples/src/FunctionalAlgorithms/selector.cpp
+
1
−
3
View file @
74641229
...
...
@@ -20,9 +20,7 @@ namespace Gaudi {
:
public
Functional
::
FilterPredicate
<
bool
(
const
Gaudi
::
Range_
<
Gaudi
::
Examples
::
MyTrack
::
ConstVector
>&
)
>
{
public:
CountSelectedTracks
(
const
std
::
string
&
name
,
ISvcLocator
*
pSvc
)
:
FilterPredicate
(
name
,
pSvc
,
{
KeyValue
{
"InputData"
,
Functional
::
concat_alternatives
(
"BogusLocation"
,
"MoreBogus"
,
"MyOutTracks"
)
}
}
)
{}
:
FilterPredicate
(
name
,
pSvc
,
{
KeyValue
{
"InputData"
,
"MyOutTracks"
}
}
)
{}
StatusCode
initialize
()
override
{
StatusCode
sc
=
FilterPredicate
::
initialize
();
...
...
This diff is collapsed.
Click to expand it.
GaudiFunctional/include/Gaudi/Functional/utilities.h
+
3
−
3
View file @
74641229
...
...
@@ -19,13 +19,13 @@
namespace
Gaudi
::
Functional
{
// This utility is needed when the inputs of a functional algorithm may be stored in several locations
inline
std
::
string
concat_alternatives
(
std
::
initializer_list
<
std
::
string
>
c
)
{
[[
deprecated
]]
inline
std
::
string
concat_alternatives
(
std
::
initializer_list
<
std
::
string
>
c
)
{
return
boost
::
algorithm
::
join
(
c
,
":"
);
}
template
<
typename
...
Strings
>
std
::
string
concat_alternatives
(
const
Strings
&
...
s
)
{
return
concat_alternatives
(
std
::
initializer_list
<
std
::
string
>
{
s
...
}
);
[[
deprecated
]]
std
::
string
concat_alternatives
(
const
Strings
&
...
s
)
{
return
boost
::
algorithm
::
join
(
std
::
initializer_list
<
std
::
string
>
{
s
...
}
,
":"
);
}
[[
deprecated
(
"please use `updateHandleLocation` instead of `Gaudi::Functional::updateHandleLocation`"
)]]
inline
void
...
...
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