From 9cc46300dba5c1e53a26415507c4d08addfd89eb Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Gustav=20S=C3=B6rn=C3=A4s?= Date: Tue, 10 Nov 2020 01:35:03 +0100 Subject: warnings etc --- labb4/Junk.cpp | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'labb4/Junk.cpp') diff --git a/labb4/Junk.cpp b/labb4/Junk.cpp index 2276240..86493c7 100644 --- a/labb4/Junk.cpp +++ b/labb4/Junk.cpp @@ -15,9 +15,9 @@ void Junk::draw(QGraphicsScene *scene) const { JUNK_RADIUS, JUNK_RADIUS), QPen(), QBrush(JUNK_COLOR)); } -void Junk::moveTowards(const Unit& u) {} +void Junk::moveTowards(const Unit&) {} -bool Junk::attacks(const Unit& u) const { +bool Junk::attacks(const Unit&) const { return false; } -- cgit v1.2.1