File tree 1 file changed +5
-0
lines changed
1 file changed +5
-0
lines changed Original file line number Diff line number Diff line change @@ -137,6 +137,7 @@ void TRestDetectorHitsEvent::Initialize() {
137
137
138
138
void TRestDetectorHitsEvent::Sort (bool (compareCondition)(const TRestHits::iterator& hit1,
139
139
const TRestHits::iterator& hit2)) {
140
+ #ifndef __APPLE__
140
141
if (compareCondition == 0 ) {
141
142
// default sort logic: z from smaller to greater
142
143
std::sort (fHits ->begin (), fHits ->end (),
@@ -146,6 +147,10 @@ void TRestDetectorHitsEvent::Sort(bool(compareCondition)(const TRestHits::iterat
146
147
} else {
147
148
std::sort (fHits ->begin (), fHits ->end (), compareCondition);
148
149
}
150
+ #else
151
+ std::cout << " TRestDetectorHitsEvent::Sort is not implemented on MacOs!!" << std::endl;
152
+ std::cout << " This method implementation should be reviewed for proper operation in Mac" << std::endl;
153
+ #endif
149
154
}
150
155
151
156
void TRestDetectorHitsEvent::Shuffle (int NLoop) {
You can’t perform that action at this time.
0 commit comments