Commit 425da911 authored by Sean McBride's avatar Sean McBride
Browse files

Replaced #include <assert.h> with #include <cassert>

In other words, changed from the C to the C++ header name.
Did this only in .cxx files, and not in ThirdParty.

Change-Id: I81e2b2c7f2db00e98b37d507232fbc84022e8d8f
parent 879e9ce9
......@@ -3,7 +3,7 @@
#define _FILE_OFFSET_BITS 64
#include <sys/types.h>
#include <sys/stat.h>
#include <assert.h>
#include <cassert>
#include <stdio.h>
int main( int, char **argv )
......
......@@ -16,7 +16,7 @@
#include "vtkObjectFactory.h"
#include "vtkPiecewiseFunction.h"
#include <assert.h>
#include <cassert>
vtkStandardNewMacro(vtkCardinalSpline);
......
......@@ -34,7 +34,7 @@
# include <set>
#endif
#include <assert.h>
#include <cassert>
vtkStandardNewMacro(vtkGarbageCollector);
......
......@@ -22,7 +22,7 @@
#include "vtkStringArray.h"
#include "vtkVariantArray.h"
#include <assert.h>
#include <cassert>
vtkStandardNewMacro(vtkLookupTable);
......
......@@ -25,7 +25,7 @@
#include "vtkMath.h"
#include "vtkObjectFactory.h"
#include "vtkDataArray.h"
#include <assert.h>
#include <cassert>
#include <cmath>
#include "vtkBoxMuellerRandomSequence.h"
......
......@@ -38,7 +38,7 @@
#include "vtkGenericGeometryFilter.h"
#include "vtkGenericCellTessellator.h"
#include "vtkGenericSubdivisionErrorMetric.h"
#include <assert.h>
#include <cassert>
#include "vtkLookupTable.h"
#include "vtkPolyDataMapper.h"
#include "vtkPolyData.h"
......
......@@ -16,7 +16,7 @@
#include "vtkUniformGrid.h"
#include "vtkObjectFactory.h"
#include <assert.h>
#include <cassert>
vtkStandardNewMacro(vtkAMRDataInternals);
vtkAMRDataInternals::Block::Block(unsigned int i, vtkUniformGrid* g)
......
......@@ -21,7 +21,7 @@
#include "vtkBoundingBox.h"
#include "vtkAMRBox.h"
#include "vtkDoubleArray.h"
#include <assert.h>
#include <cassert>
#include <set>
vtkStandardNewMacro(vtkAMRInformation);
......
......@@ -17,7 +17,7 @@ PURPOSE. See the above copyright notice for more information.
#include "vtkVector.h"
#include "vtkVectorOperators.h"
#include <assert.h>
#include <cassert>
//----------------------------------------------------------------------------
vtkAtom::vtkAtom(vtkMolecule *parent, vtkIdType id)
......
......@@ -19,7 +19,7 @@
#include "vtkGenericAttributeCollection.h"
#include "vtkGenericAdaptorCell.h"
#include "vtkGenericDataSet.h"
#include <assert.h>
#include <cassert>
vtkStandardNewMacro(vtkAttributesErrorMetric);
......
......@@ -28,7 +28,7 @@
#include "vtkQuadraticQuad.h"
#include "vtkBiQuadraticQuad.h"
#include "vtkPoints.h"
#include <assert.h>
#include <cassert>
vtkStandardNewMacro(vtkBiQuadraticQuadraticHexahedron);
......
......@@ -27,7 +27,7 @@
#include "vtkQuadraticTriangle.h"
#include "vtkPoints.h"
#include <assert.h>
#include <cassert>
vtkStandardNewMacro (vtkBiQuadraticQuadraticWedge);
......
......@@ -18,7 +18,7 @@ PURPOSE. See the above copyright notice for more information.
#include "vtkVector.h"
#include "vtkVectorOperators.h"
#include <assert.h>
#include <cassert>
//----------------------------------------------------------------------------
vtkBond::vtkBond(vtkMolecule *parent, vtkIdType id,
......
......@@ -15,7 +15,7 @@
#include "vtkBoundingBox.h"
#include <vtkMath.h>
#include <vtkPlane.h>
#include <assert.h>
#include <cassert>
#include <math.h>
// ---------------------------------------------------------------------------
......
......@@ -16,7 +16,7 @@
#include "vtkMath.h"
#include "vtkObjectFactory.h"
#include "vtkBoundingBox.h"
#include <assert.h>
#include <cassert>
vtkStandardNewMacro(vtkBox);
......
......@@ -30,7 +30,7 @@
#include <limits.h> // CHAR_BIT
#include <assert.h> // assert()
#include <cassert> // assert()
vtkInformationKeyMacro(vtkDistributedGraphHelper, DISTRIBUTEDVERTEXIDS, Integer);
......
......@@ -14,7 +14,7 @@
=========================================================================*/
#include "vtkGenericAdaptorCell.h"
#include <assert.h>
#include <cassert>
#include "vtkPoints.h"
#include "vtkIncrementalPointLocator.h"
......
......@@ -16,7 +16,7 @@
// .SECTION Description
#include "vtkGenericAttribute.h"
#include <assert.h>
#include <cassert>
//---------------------------------------------------------------------------
......
......@@ -20,7 +20,7 @@
#include <vector>
#include <assert.h>
#include <cassert>
vtkStandardNewMacro(vtkGenericAttributeCollection);
......
......@@ -29,7 +29,7 @@
#include "vtkGenericCellIterator.h"
#include <assert.h>
#include <cassert>
#include "vtkMath.h"
......
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