From cda8ffb909aa3fac78abeaee925b134b4b58230f Mon Sep 17 00:00:00 2001 From: Zach S-B Date: Fri, 18 Sep 2020 16:41:53 +1000 Subject: [PATCH] Working (Messy Code) --- LinkedList.cpp | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-) diff --git a/LinkedList.cpp b/LinkedList.cpp index 2ac4ba9..1d56741 100644 --- a/LinkedList.cpp +++ b/LinkedList.cpp @@ -180,9 +180,7 @@ void LinkedList::sort() n2 = n1->getNext(); if(n1->getData() > n2->getData()) - { - //std::cout<<"SWAP"<getData(); n2->setData(n1->getData()); n1->setData(nSwap);