Always export VTK-m functor symbols

This is done to avoid warnings when compiling VTK-m consumers
with different defaults for symbol visiblity. AKA avoid warnings
like:

```
warning: ‘vtkm::worklet::WorkletMapField’ declared with greater visibility than the type of its field ‘vtkm::worklet::WorkletMapField::<anonymous>’ [-Wattributes]
 class WorkletMapField : public vtkm::worklet::internal::WorkletBase
       ^~~~~~~~~~~~~~~
```
This commit is contained in:
Robert Maynard 2019-08-01 12:53:54 -04:00
parent 2eeeafc1f5
commit d8cc39eb8d
2 changed files with 2 additions and 2 deletions

@ -27,7 +27,7 @@ namespace exec
/// This class contains a public method named RaiseError that can be called in
/// the execution environment to signal a problem.
///
class VTKM_NEVER_EXPORT FunctorBase
class VTKM_ALWAYS_EXPORT FunctorBase
{
public:
VTKM_EXEC_CONT

@ -61,7 +61,7 @@ namespace internal
/// operator() const is added to implement an algorithm in VTK-m. Different
/// worklets have different calling semantics.
///
class VTKM_NEVER_EXPORT WorkletBase : public vtkm::exec::FunctorBase
class VTKM_ALWAYS_EXPORT WorkletBase : public vtkm::exec::FunctorBase
{
public:
using _1 = vtkm::placeholders::Arg<1>;