fixed warning: can't generate assignment operator
This commit is contained in:
parent
05ece2433e
commit
cce26e58b8
@ -314,6 +314,9 @@ public:
|
|||||||
|
|
||||||
private:
|
private:
|
||||||
|
|
||||||
|
KDTreeIndex& operator=(const KDTreeIndex&);
|
||||||
|
KDTreeIndex(const KDTreeIndex&);
|
||||||
|
|
||||||
|
|
||||||
void save_tree(FILE* stream, Tree tree)
|
void save_tree(FILE* stream, Tree tree)
|
||||||
{
|
{
|
||||||
|
@ -596,6 +596,8 @@ public:
|
|||||||
|
|
||||||
private:
|
private:
|
||||||
|
|
||||||
|
KMeansIndex& operator=(const KMeansIndex&);
|
||||||
|
KMeansIndex(const KMeansIndex&);
|
||||||
|
|
||||||
void save_tree(FILE* stream, KMeansNode node)
|
void save_tree(FILE* stream, KMeansNode node)
|
||||||
{
|
{
|
||||||
|
@ -54,6 +54,9 @@ class LinearIndex : public NNIndex<ELEM_TYPE>
|
|||||||
const Matrix<ELEM_TYPE> dataset;
|
const Matrix<ELEM_TYPE> dataset;
|
||||||
const LinearIndexParams& index_params;
|
const LinearIndexParams& index_params;
|
||||||
|
|
||||||
|
LinearIndex(const LinearIndex&);
|
||||||
|
LinearIndex& operator=(const LinearIndex&);
|
||||||
|
|
||||||
public:
|
public:
|
||||||
|
|
||||||
LinearIndex(const Matrix<ELEM_TYPE>& inputData, const LinearIndexParams& params = LinearIndexParams() ) :
|
LinearIndex(const Matrix<ELEM_TYPE>& inputData, const LinearIndexParams& params = LinearIndexParams() ) :
|
||||||
|
Loading…
x
Reference in New Issue
Block a user