diff options
Diffstat (limited to 'tests/RawTensor.h')
-rw-r--r-- | tests/RawTensor.h | 12 |
1 files changed, 10 insertions, 2 deletions
diff --git a/tests/RawTensor.h b/tests/RawTensor.h index 6b1b904e13..3501ad16ff 100644 --- a/tests/RawTensor.h +++ b/tests/RawTensor.h @@ -101,9 +101,17 @@ public: */ RawTensor(const RawTensor &tensor); - RawTensor &operator =(RawTensor tensor); + /** Copy the given @p tensor. + * + * @param[in] tensor To be copied tensor. + * + * @return a copy of the given tensor. + */ + RawTensor &operator=(RawTensor tensor); + /** Allow instances of this class to be move constructed */ RawTensor(RawTensor &&) = default; - ~RawTensor() = default; + /** Default destructor. */ + ~RawTensor() = default; /** Read only access to the specified element. * |