From 8dea5268080e4ebdcf61d46d32cad5f5c67ecaa0 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?Jakub=20Klinkovsk=C3=BD?= <klinkjak@fjfi.cvut.cz>
Date: Fri, 1 Mar 2019 21:50:25 +0100
Subject: [PATCH] Fixed documentation of Array's copy constructor

The constructor makes a shallow copy, not a deep copy.
---
 src/TNL/Containers/Array.h | 8 ++++----
 1 file changed, 4 insertions(+), 4 deletions(-)

diff --git a/src/TNL/Containers/Array.h b/src/TNL/Containers/Array.h
index 899ca92bbb..867bca6a2b 100644
--- a/src/TNL/Containers/Array.h
+++ b/src/TNL/Containers/Array.h
@@ -70,10 +70,10 @@ class Array : public Object
       /**
        * \brief Copy constructor.
        *
-       * Copies \e size elements from existing \e array into a new array.
-       * \param array Existing array that is about to be copied.
-       * \param begin Index from which the array is copied.
-       * \param size Number of array elements that should be copied.
+       * The constructor does not make a deep copy, but binds to the supplied array.
+       * \param array Existing array that is to be bound.
+       * \param begin The first index which should be bound.
+       * \param size Number of array elements that should be bound.
        */
       Array( Array& array,
              const IndexType& begin = 0,
-- 
GitLab