Skip to content

Commit dbf8c51

Browse files
committed
[mathmore] Explicitly alias Integration::Type
Explicitly define ROOT::Math::Integration::Type with a using declaration. In LLVM 22, the existing using namespace directive no longer implicitly resolves these types during dictionary generation, causing rootcling to fail with: ``` Error in <CloseStreamerInfoROOTFile>: Cannot find enum ROOT::Math::Integration::Type. ```
1 parent dcc40e6 commit dbf8c51

2 files changed

Lines changed: 2 additions & 0 deletions

File tree

math/mathmore/inc/Math/IntegrationTypes.h

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -42,6 +42,7 @@ namespace Math {
4242
namespace Integration {
4343

4444
using namespace IntegrationOneDim;
45+
using Type = IntegrationOneDim::Type;
4546

4647

4748
// // type of integration

math/mathmore/inc/Math/MCIntegrationTypes.h

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -40,6 +40,7 @@ namespace Math {
4040

4141

4242
using namespace IntegrationMultiDim;
43+
using Type = IntegrationMultiDim::Type;
4344

4445

4546
// type of integration

0 commit comments

Comments
 (0)