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:
Kenneth Moreland 2020-11-19 17:31:55 -07:00
parent 51c954c857
commit b7a09f5ecb
2 changed files with 30 additions and 0 deletions

@ -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

@ -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