Commit 6158b2af authored by Mathieu Tillet's avatar Mathieu Tillet
Browse files

Remove an useless cast

An uneeded cast from size_t to unsigned long was causing the windows
build to fail.
parent 0cc16f04
......@@ -517,8 +517,7 @@ void InstrumentWidgetMaskTab::singlePixelPicked(size_t pickID) {
std::vector<long unsigned int> detectorId{
static_cast<long unsigned int>(pickID)};
std::vector<size_t> detectorId{pickID};
m_instrWidget->updateInstrumentView(); // to refresh the pick image
auto wsMask = actor.getMaskWorkspace();
if (m_pixel->isChecked()) {
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment