File tree Expand file tree Collapse file tree 1 file changed +5
-0
lines changed
Expand file tree Collapse file tree 1 file changed +5
-0
lines changed Original file line number Diff line number Diff line change @@ -137,6 +137,7 @@ void TRestDetectorHitsEvent::Initialize() {
137137
138138void TRestDetectorHitsEvent::Sort (bool (compareCondition)(const TRestHits::iterator& hit1,
139139 const TRestHits::iterator& hit2)) {
140+ #ifndef __APPLE__
140141 if (compareCondition == 0 ) {
141142 // default sort logic: z from smaller to greater
142143 std::sort (fHits ->begin (), fHits ->end (),
@@ -146,6 +147,10 @@ void TRestDetectorHitsEvent::Sort(bool(compareCondition)(const TRestHits::iterat
146147 } else {
147148 std::sort (fHits ->begin (), fHits ->end (), compareCondition);
148149 }
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
149154}
150155
151156void TRestDetectorHitsEvent::Shuffle (int NLoop) {
You can’t perform that action at this time.
0 commit comments