Skip to content

Commit 0cd1a32

Browse files
committed
Fix formatting of VTK_DELETE_FUNCTION
This commit fixes a formatting error when specifying VTK_DELETE_FUNCTION. Here, VTK_DELETE_FUNCTION was introduced in https://gitlab.kitware.com/vtk/vtk/commit/5d8e8d52602a020cdb42661fb275b0616a1e5f45.
1 parent b4b6f29 commit 0cd1a32

File tree

1 file changed

+9
-9
lines changed

1 file changed

+9
-9
lines changed

Rendering/VolumeOpenGL/vtkOpenGLGPUVolumeRayCastMapper.cxx

Lines changed: 9 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -309,8 +309,8 @@ class vtkTextureTable : public vtkObject
309309
double LastRange[2];
310310

311311
private:
312-
vtkTextureTable(const vtkTextureTable&); VTK_DELETE_FUNCTION
313-
vtkTextureTable& operator=(const vtkTextureTable&); VTK_DELETE_FUNCTION
312+
vtkTextureTable(const vtkTextureTable&) VTK_DELETE_FUNCTION;
313+
vtkTextureTable& operator=(const vtkTextureTable&) VTK_DELETE_FUNCTION;
314314

315315
// Description:
316316
// Queries the GL_MAX_TEXTURE_SIZE and returns either the requested idealWidth
@@ -474,8 +474,8 @@ class vtkOpacityTable: public vtkTextureTable
474474
int LastBlendMode;
475475
double LastSampleDistance;
476476
private:
477-
vtkOpacityTable(const vtkOpacityTable&); VTK_DELETE_FUNCTION
478-
vtkOpacityTable& operator=(const vtkOpacityTable&); VTK_DELETE_FUNCTION
477+
vtkOpacityTable(const vtkOpacityTable&) VTK_DELETE_FUNCTION;
478+
vtkOpacityTable& operator=(const vtkOpacityTable&) VTK_DELETE_FUNCTION;
479479
};
480480

481481
vtkStandardNewMacro(vtkOpacityTable);
@@ -510,9 +510,9 @@ class vtkOpacityTables
510510
return this->Tables.size();
511511
}
512512
private:
513-
vtkOpacityTables(); VTK_DELETE_FUNCTION
514-
vtkOpacityTables(const vtkOpacityTables &other); VTK_DELETE_FUNCTION
515-
vtkOpacityTables &operator=(const vtkOpacityTables &other); VTK_DELETE_FUNCTION
513+
vtkOpacityTables() VTK_DELETE_FUNCTION;
514+
vtkOpacityTables(const vtkOpacityTables &other) VTK_DELETE_FUNCTION;
515+
vtkOpacityTables &operator=(const vtkOpacityTables &other) VTK_DELETE_FUNCTION;
516516

517517
std::vector<vtkOpacityTable*> Tables;
518518
};
@@ -595,8 +595,8 @@ class vtkRGBTable: public vtkTextureTable
595595
~vtkRGBTable() {};
596596

597597
private:
598-
vtkRGBTable(const vtkRGBTable &other); VTK_DELETE_FUNCTION
599-
vtkRGBTable &operator=(const vtkRGBTable &other); VTK_DELETE_FUNCTION
598+
vtkRGBTable(const vtkRGBTable &other) VTK_DELETE_FUNCTION;
599+
vtkRGBTable &operator=(const vtkRGBTable &other) VTK_DELETE_FUNCTION;
600600
};
601601

602602
vtkStandardNewMacro(vtkRGBTable);

0 commit comments

Comments
 (0)