Skip to content
This repository has been archived by the owner on Nov 26, 2024. It is now read-only.

Commit

Permalink
Expose #69
Browse files Browse the repository at this point in the history
  • Loading branch information
richelbilderbeek committed Feb 21, 2024
1 parent d4ac70c commit 433325b
Show file tree
Hide file tree
Showing 3 changed files with 2 additions and 8 deletions.
1 change: 0 additions & 1 deletion color.h
Original file line number Diff line number Diff line change
@@ -1,7 +1,6 @@
#ifndef COLOR_H

Check notice on line 1 in color.h

View workflow job for this annotation

GitHub Actions / lint

Run clang-format on color.h

File color.h does not conform to LLVM style guidelines. (lines 4, 5, 6)
#define COLOR_H


enum class color

Check failure on line 4 in color.h

View workflow job for this annotation

GitHub Actions / lint

color.h:4:12 [clang-diagnostic-error]

tentative definition has type 'enum class' that is never completed

Check warning on line 4 in color.h

View workflow job for this annotation

GitHub Actions / lint

color.h:4:12 [cppcoreguidelines-avoid-non-const-global-variables]

variable 'color' is non-const and globally accessible, consider making it const

Check failure on line 4 in color.h

View workflow job for this annotation

GitHub Actions / lint

color.h:4:17 [clang-diagnostic-error]

expected ';' after top level declarator
{
red
Expand Down
2 changes: 2 additions & 0 deletions game.pri
Original file line number Diff line number Diff line change
Expand Up @@ -6,6 +6,7 @@

SOURCES += \
$$PWD/ball.cpp \
$$PWD/color.cpp \
$$PWD/game.cpp \
$$PWD/main.cpp \
$$PWD/player.cpp
Expand All @@ -16,5 +17,6 @@ SOURCES += \

HEADERS += \
$$PWD/ball.h \
$$PWD/color.h \
$$PWD/game.h \
$$PWD/player.h
7 changes: 0 additions & 7 deletions game.pro
Original file line number Diff line number Diff line change
Expand Up @@ -67,10 +67,3 @@ win32{
LIBS += -lwinmm
LIBS += -lgcov
}

HEADERS += \
color.h

SOURCES += \
color.cpp

0 comments on commit 433325b

Please sign in to comment.