mirror of
https://github.com/opencv/opencv.git
synced 2024-11-28 21:20:18 +08:00
fixed warning: can't generate assignment operator
This commit is contained in:
parent
05ece2433e
commit
cce26e58b8
@ -314,6 +314,9 @@ public:
|
||||
|
||||
private:
|
||||
|
||||
KDTreeIndex& operator=(const KDTreeIndex&);
|
||||
KDTreeIndex(const KDTreeIndex&);
|
||||
|
||||
|
||||
void save_tree(FILE* stream, Tree tree)
|
||||
{
|
||||
|
@ -596,6 +596,8 @@ public:
|
||||
|
||||
private:
|
||||
|
||||
KMeansIndex& operator=(const KMeansIndex&);
|
||||
KMeansIndex(const KMeansIndex&);
|
||||
|
||||
void save_tree(FILE* stream, KMeansNode node)
|
||||
{
|
||||
|
@ -54,6 +54,9 @@ class LinearIndex : public NNIndex<ELEM_TYPE>
|
||||
const Matrix<ELEM_TYPE> dataset;
|
||||
const LinearIndexParams& index_params;
|
||||
|
||||
LinearIndex(const LinearIndex&);
|
||||
LinearIndex& operator=(const LinearIndex&);
|
||||
|
||||
public:
|
||||
|
||||
LinearIndex(const Matrix<ELEM_TYPE>& inputData, const LinearIndexParams& params = LinearIndexParams() ) :
|
||||
|
Loading…
Reference in New Issue
Block a user