Skip to content
Snippets Groups Projects

fix warnings by deleting assignment operator instead of just making it private.

Merged Martin Heistermann requested to merge fix-warnings into master
1 file
+ 2
2
Compare changes
  • Side-by-side
  • Inline
@@ -219,7 +219,7 @@ public:
virtual void resize( unsigned int _num ) = 0; //!< Resize the data vector.
virtual void crop( const std::vector<int> &_indices ) = 0; //!< Keep only the elements with given indices in the data vector. The indices have to be valid, sorted and unique.
private:
void operator=( const SplatPropertyInterface & ); //!< Disallow the assign operator. (private and *not* implemented)
void operator=( const SplatPropertyInterface & ) = delete;
};
//----------------
@@ -312,7 +312,7 @@ public:
virtual inline void resize( unsigned int _num ) override { data_.resize( _num ); } //!< Resize the data vector.
virtual void crop( const std::vector<int> &_indices ) override; //!< Keep only the elements with given indices in the data vector. The indices have to be valid, sorted and unique.
private:
void operator=( const SplatPropertyT<T> & ); //!< Disallow the assign operator. (private and *not* implemented)
void operator=( const SplatPropertyT<T> & ) = delete;
private:
std::vector<T> data_; //!< The actual stored data (one element per splat)
};
Loading