@@ -50,8 +50,8 @@ class GrowLocalSSP : public MaxBspScheduler<GraphT> {
5050 static constexpr unsigned staleness{2U };
5151 GrowLocalSSPParams<VertexIdxT<GraphT>, VWorkwT<GraphT>> params_;
5252
53- typename std::deque<VertexType>::difference_type maxAllReadyUsage (const std::deque<VertexType> ¤tlyReady,
54- const std::deque<VertexType> &nextSuperstepReady) const ;
53+ inline typename std::deque<VertexType>::difference_type maxAllReadyUsage (const std::deque<VertexType> ¤tlyReady,
54+ const std::deque<VertexType> &nextSuperstepReady) const ;
5555
5656 public:
5757 ReturnStatus ComputeSchedule (BspSchedule<GraphT> &schedule) override ;
@@ -61,7 +61,7 @@ class GrowLocalSSP : public MaxBspScheduler<GraphT> {
6161};
6262
6363template <typename GraphT>
64- typename std::deque<VertexIdxT<GraphT>>::difference_type GrowLocalSSP<GraphT>::maxAllReadyUsage(
64+ inline typename std::deque<VertexIdxT<GraphT>>::difference_type GrowLocalSSP<GraphT>::maxAllReadyUsage(
6565 const std::deque<VertexIdxT<GraphT>> ¤tlyReady, const std::deque<VertexIdxT<GraphT>> &nextSuperstepReady) const {
6666 if constexpr (staleness == 1U ) {
6767 return std::distance (currentlyReady.cbegin (), currentlyReady.cend ());
@@ -145,7 +145,8 @@ ReturnStatus GrowLocalSSP<GraphT>::ComputeSchedule(MaxBspSchedule<GraphT> &sched
145145 const typename std::deque<VertexType>::difference_type lengthCurrentlyReady
146146 = std::distance (currentlyReady.begin (), currentlyReady.end ());
147147 currentlyReady.insert (currentlyReady.end (), stepFutureReady.begin (), stepFutureReady.end ());
148- std::inplace_merge (currentlyReady.begin (), std::next (currentlyReady.begin (), lengthCurrentlyReady), currentlyReady.end (), std::less<>{});
148+ std::inplace_merge (
149+ currentlyReady.begin (), std::next (currentlyReady.begin (), lengthCurrentlyReady), currentlyReady.end (), std::less<>{});
149150
150151 const typename std::deque<VertexType>::difference_type maxCurrentlyReadyUsage
151152 = std::max (static_cast <typename std::deque<VertexType>::difference_type>(
0 commit comments