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

Fix coverity issues in Vates #609

Merged
merged 14 commits into from Apr 21, 2015
Merged

Conversation

AntonPiccardoSelg
Copy link
Contributor

Fixes ticket (11583)[http://trac.mantidproject.org/mantid/ticket/11583]

Code review should be enough


class DLLExport PeaksPresenterVsi {
public:
virtual ~PeaksPresenterVsi(){};
virtual std::vector<bool> getViewablePeaks() const = 0;
virtual Mantid::API::IPeaksWorkspace_sptr getPeaksWorkspace() const = 0;
virtual void updateViewFrustum(ViewFrustum frustum) = 0;
virtual void updateViewFrustum(ViewFrustum_sptr frustum) = 0;
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Would be best to pass a ViewFrustrum_const_sptr I think. Looks like once the Frustrum should be immutable.

OwenArnold added a commit that referenced this pull request Apr 21, 2015
…issues_vates

Fix coverity issues in Vates
@OwenArnold OwenArnold merged commit 4f5c692 into master Apr 21, 2015
@OwenArnold OwenArnold deleted the bugfix/11583_fix_coverity_issues_vates branch April 21, 2015 10:54
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

2 participants