Skip to content
Snippets Groups Projects
Commit 7ad26cf2 authored by Timothée Couble's avatar Timothée Couble
Browse files

Deprecate vtkVectorOperators.h use vtkVector.h instead

parent e072cd5a
No related branches found
No related tags found
No related merge requests found
......@@ -4,12 +4,21 @@
#ifndef vtkVectorOperators_h
#define vtkVectorOperators_h
// This set of operators enhance the vtkVector classes, allowing various
// operator overloads one might expect.
// This file used to set operators that enhance the vtkVector classes.
// We reimplemented them directly in vtkVector.h, and this file is now only kept
// for deprecation purpose and should be removed once we hit the deprecation milestone.
#include "vtkDeprecation.h" // For VTK_DEPRECATED_IN_9_4_0
#include "vtkVector.h"
VTK_ABI_NAMESPACE_BEGIN
namespace
{
VTK_DEPRECATED_IN_9_4_0("vtkVectorOperators.h is deprecated use vtkVector.h instead")
constexpr int vtkVectorOperators_h_is_deprecated = 0;
constexpr int please_dont_use_vtkVectorOperators_h = vtkVectorOperators_h_is_deprecated;
};
VTK_ABI_NAMESPACE_END
#endif
// VTK-HeaderTest-Exclude: vtkVectorOperators.h
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment