aboutsummaryrefslogtreecommitdiff
path: root/list.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'list.cpp')
-rw-r--r--list.cpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/list.cpp b/list.cpp
index 8c671a1..937e7a7 100644
--- a/list.cpp
+++ b/list.cpp
@@ -14,9 +14,9 @@ struct List
};
template <typename T>
-struct List<T> *append(struct List<T> *lst, T value)
+List<T> *append(List<T> *lst, T value)
{
- struct List<T> *node;
+ List<T> *node;
if (lst == NULL)
{
node = new List<T>;