Skip to content

Commit

Permalink
Resolve compiler ambiguity in bslma::SharedPtrRep-based shared pointe…
Browse files Browse the repository at this point in the history
…r ctor on Solaris
  • Loading branch information
mattrm456 authored Aug 5, 2024
1 parent b760843 commit 67fd2c8
Showing 1 changed file with 4 additions and 1 deletion.
5 changes: 4 additions & 1 deletion groups/ntc/ntcs/ntcs_chronology.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -1395,7 +1395,10 @@ void Chronology::load(TimerVector* result) const
Timer* timer = timerRep->getObject();
timerRep->acquireRef();

result->push_back(bsl::shared_ptr<ntci::Timer>(timer, timerRep));
result->push_back(
bsl::shared_ptr<ntci::Timer>(
static_cast<ntci::Timer*>(timer),
static_cast<bslma::SharedPtrRep*>(timerRep)));

d_deadlineMap.skipForward(&rawHandle);
}
Expand Down

0 comments on commit 67fd2c8

Please sign in to comment.