diff --git a/math/mathcore/inc/LinkDef2.h b/math/mathcore/inc/LinkDef2.h index ce9f553af5ff6..26f408c6ae6c4 100644 --- a/math/mathcore/inc/LinkDef2.h +++ b/math/mathcore/inc/LinkDef2.h @@ -174,6 +174,7 @@ #pragma link C++ class ROOT::Math::DistSamplerOptions+; #pragma link C++ class ROOT::Math::GoFTest+; #pragma link C++ class std::vector >+; +#pragma link C++ class std::vector >+; #pragma link C++ class ROOT::Math::Delaunay2D+; diff --git a/tree/dataframe/test/dataframe_utils.cxx b/tree/dataframe/test/dataframe_utils.cxx index b1ebcb0c4999c..3bd7f7162dea5 100644 --- a/tree/dataframe/test/dataframe_utils.cxx +++ b/tree/dataframe/test/dataframe_utils.cxx @@ -233,8 +233,7 @@ TEST(RDataFrameUtils, TypeName2TypeID) { EXPECT_EQ(typeid(float), RDFInt::TypeName2TypeID("float")); EXPECT_EQ(typeid(std::vector), RDFInt::TypeName2TypeID("std::vector")); + EXPECT_EQ(typeid(std::vector>), RDFInt::TypeName2TypeID("std::vector>")); EXPECT_THROW(RDFInt::TypeName2TypeID("float *"), std::runtime_error); EXPECT_THROW(RDFInt::TypeName2TypeID("float &"), std::runtime_error); - // TODO(jblomer): Ideally, we would want the next one not to throw an exception - EXPECT_THROW(RDFInt::TypeName2TypeID("std::vector>"), std::runtime_error); }