From 67fd2c89b446559da9df71c3d2160af1f45f782d Mon Sep 17 00:00:00 2001 From: Matt Millett Date: Mon, 5 Aug 2024 09:24:16 -0400 Subject: [PATCH] Resolve compiler ambiguity in bslma::SharedPtrRep-based shared pointer ctor on Solaris --- groups/ntc/ntcs/ntcs_chronology.cpp | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/groups/ntc/ntcs/ntcs_chronology.cpp b/groups/ntc/ntcs/ntcs_chronology.cpp index 473851401..7769d3720 100644 --- a/groups/ntc/ntcs/ntcs_chronology.cpp +++ b/groups/ntc/ntcs/ntcs_chronology.cpp @@ -1395,7 +1395,10 @@ void Chronology::load(TimerVector* result) const Timer* timer = timerRep->getObject(); timerRep->acquireRef(); - result->push_back(bsl::shared_ptr(timer, timerRep)); + result->push_back( + bsl::shared_ptr( + static_cast(timer), + static_cast(timerRep))); d_deadlineMap.skipForward(&rawHandle); }