From f7d7da69b93b0ed53f69648e805e40bb9e4d2d9c Mon Sep 17 00:00:00 2001 From: Alvin Philips Date: Sun, 31 Oct 2021 07:13:09 +0530 Subject: [PATCH] Added parameter documentation --- operations_on_datastructures/circular_linked_list.cpp | 3 +++ 1 file changed, 3 insertions(+) diff --git a/operations_on_datastructures/circular_linked_list.cpp b/operations_on_datastructures/circular_linked_list.cpp index c827a934d..e1a324427 100644 --- a/operations_on_datastructures/circular_linked_list.cpp +++ b/operations_on_datastructures/circular_linked_list.cpp @@ -34,6 +34,7 @@ struct Node { Node* next; ///< The Node's successor /** * @brief Creates a new Node with some initial data + * @param _data Value of Node */ explicit Node(int64_t _data) { data = _data; ///< Set value of Node data @@ -41,6 +42,8 @@ struct Node { } /** * @brief Creates a new Node with initial data and a successor + * @param _data Value of Node + * @param _next Pointer to the next Node */ explicit Node(int64_t _data, Node* _next) { data = _data; ///< Set value of Node data