Skip to content

Commit

Permalink
Refs #5118 doesn't work on mac either. Reverting
Browse files Browse the repository at this point in the history
  • Loading branch information
Janik Zikovsky committed Apr 18, 2012
1 parent 4daf6e3 commit ed28d89
Show file tree
Hide file tree
Showing 2 changed files with 0 additions and 9 deletions.
5 changes: 0 additions & 5 deletions Code/Mantid/Framework/MDEvents/inc/MantidMDEvents/MDEvent.h
Original file line number Diff line number Diff line change
Expand Up @@ -296,13 +296,8 @@ namespace MDEvents

// Create the event with signal, error squared,
// the runIndex, the detectorID, and the centers
#ifdef _WIN32
events.push_back( MDEvent<nd>(float(data[ii]), float(data[ii + 1]),
uint16_t(data[ii + 2]), int32_t(data[ii+3]), centers) );
#else
events.emplace_back( float(data[ii]), float(data[ii + 1]),
uint16_t(data[ii + 2]), int32_t(data[ii+3]), centers );
#endif
}

// Release the memory (all has been COPIED into MDLeanEvent's)
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -534,11 +534,7 @@ namespace MDEvents
coord_t * centers = data + ii+2;

// Create the event with signal, error squared, and the centers
#ifdef _WIN32
events.push_back( MDLeanEvent<nd>(float(data[ii]), float(data[ii + 1]), centers) );
#else
events.emplace_back( float(data[ii]), float(data[ii + 1]), centers );
#endif
}

// Release the memory (all has been COPIED into MDLeanEvent's)
Expand Down

0 comments on commit ed28d89

Please sign in to comment.