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
28af5b55
Commit
28af5b55
authored
1 year ago
by
Marco Clemencic
Browse files
Options
Downloads
Plain Diff
Work around issue with clang implicit instantiation in C++20 mode.
See merge request
!1511
parents
a69fcfa6
0c541ffa
No related branches found
No related tags found
1 merge request
!1511
Work around issue with clang implicit instantiation in C++20 mode.
Pipeline
#6408693
passed
1 year ago
Stage: test
Changes
1
Pipelines
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
GaudiKernel/include/GaudiKernel/GaudiHandle.h
+5
-2
5 additions, 2 deletions
GaudiKernel/include/GaudiKernel/GaudiHandle.h
with
5 additions
and
2 deletions
GaudiKernel/include/GaudiKernel/GaudiHandle.h
+
5
−
2
View file @
28af5b55
/***********************************************************************************\
* (c) Copyright 1998-202
0
CERN for the benefit of the LHCb and ATLAS collaborations *
* (c) Copyright 1998-202
3
CERN for the benefit of the LHCb and ATLAS collaborations *
* *
* This software is distributed under the terms of the Apache version 2 licence, *
* copied verbatim in the file "LICENSE". *
...
...
@@ -47,7 +47,10 @@ protected:
public
:
/** virtual destructor so that derived class destructor is called. */
virtual
~
GaudiHandleInfo
()
=
default
;
// Don't use =default here. Otherwise, in c++20 mode, clang will
// instantiate the handle virtual functions early, breaking the case
// where handles are used with a forward-declared class.
virtual
~
GaudiHandleInfo
()
{}
//
// Public member functions
//
...
...
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