mirror of
https://gitlab.kitware.com/vtk/vtk-m
synced 2024-09-08 13:23:51 +00:00
Correct undefined behavior from missing export on ErrorMessageBuffer
This commit is contained in:
parent
e298e05bc9
commit
3c85f7f40f
@ -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>;
|
||||
|
Loading…
Reference in New Issue
Block a user