File tree Expand file tree Collapse file tree 1 file changed +4
-4
lines changed
Detectors/ITSMFT/ITS/tracking/GPU/cuda Expand file tree Collapse file tree 1 file changed +4
-4
lines changed Original file line number Diff line number Diff line change @@ -201,15 +201,15 @@ struct equal_tracklets {
201201};
202202
203203template <typename T1, typename T2>
204- struct pair_to_first : public thrust ::unary_function<gpuPair<T1, T2>, T1> {
204+ struct pair_to_first {
205205 GPUhd () int operator ()(const gpuPair<T1, T2>& a) const
206206 {
207207 return a.first ;
208208 }
209209};
210210
211211template <typename T1, typename T2>
212- struct pair_to_second : public thrust ::unary_function<gpuPair<T1, T2>, T2> {
212+ struct pair_to_second {
213213 GPUhd () int operator ()(const gpuPair<T1, T2>& a) const
214214 {
215215 return a.second ;
@@ -710,15 +710,15 @@ GPUg() void printPointersKernel(std::tuple<Args...> args)
710710}
711711
712712template <typename T>
713- struct trackletSortEmptyFunctor : public thrust ::binary_function<T, T, bool > {
713+ struct trackletSortEmptyFunctor {
714714 GPUhd () bool operator ()(const T& lhs, const T& rhs) const
715715 {
716716 return lhs.firstClusterIndex > rhs.firstClusterIndex ;
717717 }
718718};
719719
720720template <typename T>
721- struct trackletSortIndexFunctor : public thrust ::binary_function<T, T, bool > {
721+ struct trackletSortIndexFunctor {
722722 GPUhd () bool operator ()(const T& lhs, const T& rhs) const
723723 {
724724 return lhs.firstClusterIndex < rhs.firstClusterIndex || (lhs.firstClusterIndex == rhs.firstClusterIndex && lhs.secondClusterIndex < rhs.secondClusterIndex );
You can’t perform that action at this time.
0 commit comments