From 17fff75f7361b504b1225d04824f3320faa45c59 Mon Sep 17 00:00:00 2001 From: Tim Gilevich Date: Sat, 14 Sep 2024 14:04:13 +0300 Subject: [PATCH] WIP --- HW3/cc_lib/include/cc/forward_list.h | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/HW3/cc_lib/include/cc/forward_list.h b/HW3/cc_lib/include/cc/forward_list.h index 89e5d68..0695c19 100644 --- a/HW3/cc_lib/include/cc/forward_list.h +++ b/HW3/cc_lib/include/cc/forward_list.h @@ -132,13 +132,13 @@ bool ForwardListIterator::operator==(const ForwardListIterator auto ForwardListIterator::operator*() const -> const value_type& { - return static_cast*>(node)->data; + return static_cast*>(node)->data; } template auto ForwardListIterator::operator*() -> value_type& { - return static_cast*>(node)->data; + return static_cast*>(node)->data; } template