mirror of
https://gitlab.kitware.com/vtk/vtk-m
synced 2024-09-16 17:22:55 +00:00
Fix ArrayHandleCast serializable type name
The specialization for SerializableTypeString for ArrayHandleCast tried to get the serialization for the base type and the storage tag. This is wrong since the storage tag itself is not seralizable nor has a type string. Instead, just record the type name for the sub ArrayHandle itself.
This commit is contained in:
parent
785837e19a
commit
d9fe6a546f
@ -284,9 +284,8 @@ struct SerializableTypeString<vtkm::cont::ArrayHandleCast<T, AH>>
|
||||
{
|
||||
static VTKM_CONT const std::string& Get()
|
||||
{
|
||||
static std::string name = "AH_Cast<" + SerializableTypeString<T>::Get() + "," +
|
||||
SerializableTypeString<typename AH::ValueType>::Get() + "," +
|
||||
SerializableTypeString<typename AH::StorageTag>::Get() + ">";
|
||||
static std::string name =
|
||||
"AH_Cast<" + SerializableTypeString<T>::Get() + "," + SerializableTypeString<AH>::Get() + ">";
|
||||
return name;
|
||||
}
|
||||
};
|
||||
|
Loading…
Reference in New Issue
Block a user