"error: member function 'listSize' not viable: 'this' argument has type 'const LinkedList', but function is not marked const
if(lane.listSize() == 0){"
I am trying to write a function that tells if a linked list is empty.
first i initialise the linked list in the constructor