mirror of
https://gitlab.kitware.com/vtk/vtk-m
synced 2024-09-16 17:22:55 +00:00
Re-introduced deprecated StorageImplicit.h
The `StorageImplicit.h` header is no longer used. However, just removing it causes compiles to fail if they include it. To make the transition better, re-add this file, but cause a deprecation warning if it is included.
This commit is contained in:
parent
51c954c857
commit
b7a09f5ecb
@ -110,6 +110,7 @@ set(headers
|
||||
Serialization.h
|
||||
Storage.h
|
||||
StorageExtrude.h
|
||||
StorageImplicit.h # Deprecated, rolled into ArrayHandleImplicit.h
|
||||
StorageList.h
|
||||
StorageListTag.h
|
||||
Timer.h
|
||||
|
29
vtkm/cont/StorageImplicit.h
Normal file
29
vtkm/cont/StorageImplicit.h
Normal file
@ -0,0 +1,29 @@
|
||||
//============================================================================
|
||||
// Copyright (c) Kitware, Inc.
|
||||
// All rights reserved.
|
||||
// See LICENSE.txt for details.
|
||||
//
|
||||
// This software is distributed WITHOUT ANY WARRANTY; without even
|
||||
// the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR
|
||||
// PURPOSE. See the above copyright notice for more information.
|
||||
//============================================================================
|
||||
#ifndef vtk_m_cont_StorageImplicit_h
|
||||
#define vtk_m_cont_StorageImplicit_h
|
||||
|
||||
#include <vtkm/Deprecated.h>
|
||||
#include <vtkm/cont/ArrayHandleImplicit.h>
|
||||
|
||||
namespace vtkm
|
||||
{
|
||||
|
||||
VTKM_DEPRECATED(1.6, "Use ArrayHandleImplicit.h instead of StorageImplicit.h.")
|
||||
inline void StorageImplicit_h_deprecated() {}
|
||||
|
||||
inline void ActivateStorageImplicit_h_deprecated_warning()
|
||||
{
|
||||
StorageImplicit_h_deprecated();
|
||||
}
|
||||
|
||||
} // namespace vtkm
|
||||
|
||||
#endif //vtk_m_cont_StorageImplicit_h
|
Loading…
Reference in New Issue
Block a user