Commit b1b0dc98 authored by Peterson, Peter's avatar Peterson, Peter Committed by Walsh, Michael
Browse files

Squash boost 1.71 and gcc 9 warnings

parent 9f5b5791
......@@ -34,7 +34,11 @@
#include "MantidKernel/UnitFactory.h"
#include "MantidKernel/VisibleWhenProperty.h"
#if BOOST_VERSION < 107100
#include <boost/timer.hpp>
#else
#include <boost/timer/timer.hpp>
#endif
#include <Poco/File.h>
#include <Poco/Path.h>
......
......@@ -40,7 +40,11 @@
#include <stdexcept>
#include <vector>
#if BOOST_VERSION < 107100
#include <boost/timer.hpp>
#else
#include <boost/timer/timer.hpp>
#endif
#include <Poco/File.h>
#include <Poco/Path.h>
......@@ -884,12 +888,10 @@ void LoadEventPreNexus2::procEvents(DataObjects::EventWorkspace_sptr &workspace)
<< " Events of Wrong Detector = " << this->num_wrongdetid_events << ", "
<< "Number of Wrong Detector IDs = " << this->wrongdetids.size() << "\n";
std::set<PixelType>::iterator wit;
for (wit = this->wrongdetids.begin(); wit != this->wrongdetids.end(); ++wit) {
for (auto wit = this->wrongdetids.begin(); wit != this->wrongdetids.end(); ++wit) {
g_log.notice() << "Wrong Detector ID : " << *wit << '\n';
}
std::map<PixelType, size_t>::iterator git;
for (git = this->wrongdetidmap.begin(); git != this->wrongdetidmap.end(); ++git) {
for (auto git = this->wrongdetidmap.begin(); git != this->wrongdetidmap.end(); ++git) {
PixelType tmpid = git->first;
size_t vindex = git->second;
g_log.notice() << "Pixel " << tmpid
......
Markdown is supported
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