Correct undefined behavior from missing export on ErrorMessageBuffer

This commit is contained in:
Robert Maynard 2019-06-17 15:52:01 -04:00
parent e298e05bc9
commit 3c85f7f40f
3 changed files with 3 additions and 3 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 FunctorBase
class VTKM_NEVER_EXPORT FunctorBase
{
public:
VTKM_EXEC_CONT

@ -30,7 +30,7 @@ namespace internal
/// Before scheduling worklets, the global array should be cleared to have no
/// error. This can only be reliably done by the device adapter.
///
class ErrorMessageBuffer
class VTKM_NEVER_EXPORT ErrorMessageBuffer
{
public:
VTKM_EXEC_CONT ErrorMessageBuffer()

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