Skip to content
GitLab
Projects Groups Snippets
  • /
  • Help
    • Help
    • Support
    • Community forum
    • Submit feedback
    • Contribute to GitLab
  • Register
  • Sign in
  • VTK-m VTK-m
  • Project information
    • Project information
    • Activity
    • Labels
    • Members
  • Repository
    • Repository
    • Files
    • Commits
    • Branches
    • Tags
    • Contributors
    • Graph
    • Compare
  • Issues 209
    • Issues 209
    • List
    • Boards
    • Service Desk
    • Milestones
  • Merge requests 37
    • Merge requests 37
  • CI/CD
    • CI/CD
    • Pipelines
    • Jobs
    • Schedules
  • Deployments
    • Deployments
    • Environments
    • Releases
  • Packages and registries
    • Packages and registries
    • Package Registry
    • Container Registry
    • Infrastructure Registry
  • Monitor
    • Monitor
    • Incidents
  • Analytics
    • Analytics
    • Value stream
    • CI/CD
    • Repository
  • Wiki
    • Wiki
  • Activity
  • Graph
  • Create a new issue
  • Jobs
  • Commits
  • Issue Boards
Collapse sidebar
  • VTKVTK
  • VTK-mVTK-m
  • Merge requests
  • !2411

Support deprecated behavior of point locator pointers

  • Review changes

  • Download
  • Email patches
  • Plain diff
Merged Kenneth Moreland requested to merge kmorel/vtk-m:point-locator-deprecated-features into master Feb 18, 2021
  • Overview 12
  • Commits 1
  • Pipelines 4
  • Changes 6

PointLocators have changed from being virtual objects to being trivial objects. Part of this change means that when a worklet gets the execution object for a point locator, it gets the actual object (or a reference to it) instead of a pointer to an object. This means that the new code uses the . operator to access the locator's features instead of the -> operator.

To support code still using the deprecated functionality, added a specific -> operator to the locator execution object to make it behave as if it were a pointer. However, this operator is marked deprecated to warn the user that they should modify their code to use the . instead.

Assignee
Assign to
Reviewers
Request review from
Time tracking
Source branch: point-locator-deprecated-features