Skip to content

Commit

Permalink
Refs #9247. Making RHEL6 happy.
Browse files Browse the repository at this point in the history
Having to lobotomize C++11 code since RHEL6 can't cope. I hate RHEL6.
  • Loading branch information
Michael Reuter committed Apr 1, 2014
1 parent 5ffad5c commit 5663c9d
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 4 deletions.
2 changes: 1 addition & 1 deletion Code/Mantid/Vates/VatesAPI/src/vtkMDHexFactory.cpp
Expand Up @@ -28,7 +28,7 @@ namespace Mantid
*/
vtkMDHexFactory::vtkMDHexFactory(ThresholdRange_scptr thresholdRange, const std::string& scalarName, const size_t maxDepth) :
m_thresholdRange(thresholdRange), m_scalarName(scalarName), m_maxDepth(maxDepth),
dataSet(nullptr), slice(false), sliceMask(nullptr), sliceImplicitFunction(nullptr), m_time(0)
dataSet(NULL), slice(false), sliceMask(NULL), sliceImplicitFunction(NULL), m_time(0)
{
}

Expand Down
6 changes: 3 additions & 3 deletions Code/Mantid/Vates/VatesAPI/src/vtkSplatterPlotFactory.cpp
Expand Up @@ -49,8 +49,8 @@ namespace VATES
vtkSplatterPlotFactory::vtkSplatterPlotFactory(ThresholdRange_scptr thresholdRange, const std::string& scalarName, const size_t numPoints, const double percentToUse ) :
m_thresholdRange(thresholdRange), m_scalarName(scalarName),
m_numPoints(numPoints), m_percentToUse(percentToUse),
m_buildSortedList(true), m_wsName(""), dataSet(nullptr),
slice(false), sliceMask(nullptr), sliceImplicitFunction(nullptr),
m_buildSortedList(true), m_wsName(""), dataSet(NULL),
slice(false), sliceMask(NULL), sliceImplicitFunction(NULL),
m_time(0.0)
{
}
Expand Down Expand Up @@ -211,7 +211,7 @@ namespace VATES
{
MDBox<MDE,nd> *box = dynamic_cast<MDBox<MDE,nd> *>(m_sortedBoxes[box_index]);
box_index++;
if (box == nullptr)
if (NULL == box)
{
continue;
}
Expand Down

0 comments on commit 5663c9d

Please sign in to comment.