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
8c3f0e65
Commit
8c3f0e65
authored
4 years ago
by
Ianna Osborne
Committed by
Marko Petric
4 years ago
Browse files
Options
Downloads
Patches
Plain Diff
fix compilation errors
parent
63783a38
No related branches found
Branches containing commit
No related tags found
No related merge requests found
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
DDCore/include/DD4hep/Filter.h
+2
-2
2 additions, 2 deletions
DDCore/include/DD4hep/Filter.h
DDCore/src/Filter.cpp
+1
-1
1 addition, 1 deletion
DDCore/src/Filter.cpp
with
3 additions
and
3 deletions
DDCore/include/DD4hep/Filter.h
+
2
−
2
View file @
8c3f0e65
...
...
@@ -54,13 +54,13 @@ namespace dd4hep {
/* }); */
}
void
print
(
const
std
::
unique_ptr
<
Filter
>&
filter
)
const
{
//
void print(const std::unique_ptr<Filter>& filter) const {
/* edm::LogVerbatim("Geometry").log([&](auto& log) { */
/* for (const auto& it : filter->skeys) { */
/* log << it << ", "; */
/* } */
/* }); */
}
//
}
std
::
vector
<
std
::
string_view
>
skeys
;
std
::
vector
<
std
::
regex
>
keys
;
...
...
This diff is collapsed.
Click to expand it.
DDCore/src/Filter.cpp
+
1
−
1
View file @
8c3f0e65
...
...
@@ -9,7 +9,7 @@ namespace cms {
namespace
dd
{
bool
isMatch
(
string_view
node
,
string_view
name
)
{
if
(
!
isRegex
(
name
))
{
if
(
!
dd4hep
::
dd
::
isRegex
(
name
))
{
return
(
name
==
node
);
}
else
{
regex
pattern
({
name
.
data
(),
name
.
size
()});
...
...
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