Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

COMP: vtkIGTLToMRMLTrajectory: Fix deprecated declaration warning #71

Merged

Conversation

jcfr
Copy link
Contributor

@jcfr jcfr commented Aug 8, 2017

/path/to/Slicer-build/OpenIGTLinkIF/MRML/vtkIGTLToMRMLTrajectory.cxx: In member function ‘virtual int vtkIGTLToMRMLTrajectory::MRMLToIGTL(long unsigned int, vtkMRMLNode*, int*, void**)’:
/path/to/Slicer-build/OpenIGTLinkIF/MRML/vtkIGTLToMRMLTrajectory.cxx:176:57: warning: ‘void igtl::TrajectoryMessage::ClearTrajectoryElement(igtl::TrajectoryElement::Pointer&)’ is deprecated [-Wdeprecated-declarations]
     this->OutTrajectoryMsg->ClearTrajectoryElement(dummy);
                                                         ^
In file included from /path/to/Slicer-build/OpenIGTLink/Source/igtlMessageBase.h:18:0,
                 from /path/to/Slicer-build/OpenIGTLinkIF/MRML/vtkIGTLToMRMLBase.h:22,
                 from /path/to/Slicer-build/OpenIGTLinkIF/MRML/vtkIGTLToMRMLTrajectory.h:16,
                 from /path/to/Slicer-build/OpenIGTLinkIF/MRML/vtkIGTLToMRMLTrajectory.cxx:13:
/path/to/Slicer-build/OpenIGTLink/Source/igtlTrajectoryMessage.h:190:3: note: declared here
   igtlLegacyMacro(
   ^

```
/path/to/Slicer-build/OpenIGTLinkIF/MRML/vtkIGTLToMRMLTrajectory.cxx: In member function ‘virtual int vtkIGTLToMRMLTrajectory::MRMLToIGTL(long unsigned int, vtkMRMLNode*, int*, void**)’:
/path/to/Slicer-build/OpenIGTLinkIF/MRML/vtkIGTLToMRMLTrajectory.cxx:176:57: warning: ‘void igtl::TrajectoryMessage::ClearTrajectoryElement(igtl::TrajectoryElement::Pointer&)’ is deprecated [-Wdeprecated-declarations]
     this->OutTrajectoryMsg->ClearTrajectoryElement(dummy);
                                                         ^
In file included from /path/to/Slicer-build/OpenIGTLink/Source/igtlMessageBase.h:18:0,
                 from /path/to/Slicer-build/OpenIGTLinkIF/MRML/vtkIGTLToMRMLBase.h:22,
                 from /path/to/Slicer-build/OpenIGTLinkIF/MRML/vtkIGTLToMRMLTrajectory.h:16,
                 from /path/to/Slicer-build/OpenIGTLinkIF/MRML/vtkIGTLToMRMLTrajectory.cxx:13:
/path/to/Slicer-build/OpenIGTLink/Source/igtlTrajectoryMessage.h:190:3: note: declared here
   igtlLegacyMacro(
   ^
```
@jcfr
Copy link
Contributor Author

jcfr commented Aug 11, 2017

Cc: @leochan2009

@leochan2009 leochan2009 merged commit c344f3d into openigtlink:master Aug 11, 2017
@jcfr jcfr deleted the fix-deprecated-declaration-warning branch August 11, 2017 14:38
@jcfr
Copy link
Contributor Author

jcfr commented Aug 11, 2017

Thanks 👍

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

2 participants