Fix warnings generated for Index class (#8626)
authorSergei Barannikov/AI Tools Lab /SRR/Engineer/Samsung Electronics <s.barannikov@samsung.com>
Tue, 12 Nov 2019 05:26:23 +0000 (08:26 +0300)
committer이한종/On-Device Lab(SR)/Engineer/삼성전자 <hanjoung.lee@samsung.com>
Tue, 12 Nov 2019 05:26:23 +0000 (14:26 +0900)
commit5455244dc0d307bc8054dcf70908f82071f28672
treee93fd1a706ca5376540b65319f0d42a7eec0a400
parent9fa3152b24842f6ab7759df550e99ce289fb975e
Fix warnings generated for Index class (#8626)

* Fix the type of the parameter of the copy constructor of the `Index` class. This silences -Wdeprecated-copy GCC 8.1+ warnings.
* Make the copy constructor and copy assignment operator defaulted. This silences clang-tidy warnings suggesting to pass objects of `Index` class by const reference.
* Fix description of inequality operators.

Signed-off-by: Sergei Barannikov <s.barannikov@samsung.com>
runtime/neurun/core/include/util/Index.h