summaryrefslogtreecommitdiffstats
path: root/src/Color.h
diff options
context:
space:
mode:
authorAlexander Harkness <me@bearbin.net>2024-11-02 22:27:47 +0100
committerAlexander Harkness <me@bearbin.net>2024-11-02 22:27:47 +0100
commitcb50ec10591c0e0e4b9915e642bc50d3d8d1fd0a (patch)
treef647b20e1823f1846af88e832cf82a4a02e96e69 /src/Color.h
parentImprove clang-format config file, remove automatically enforced code style from contrib guide. (diff)
downloadcuberite-clang-format-codebase.tar
cuberite-clang-format-codebase.tar.gz
cuberite-clang-format-codebase.tar.bz2
cuberite-clang-format-codebase.tar.lz
cuberite-clang-format-codebase.tar.xz
cuberite-clang-format-codebase.tar.zst
cuberite-clang-format-codebase.zip
Diffstat (limited to 'src/Color.h')
-rw-r--r--src/Color.h5
1 files changed, 2 insertions, 3 deletions
diff --git a/src/Color.h b/src/Color.h
index 059729bcf..5b5702efe 100644
--- a/src/Color.h
+++ b/src/Color.h
@@ -12,8 +12,7 @@
// tolua_begin
class cColor
{
-public:
-
+ public:
enum eColorLimits : unsigned int
{
COLOR_MIN = 0,
@@ -21,7 +20,7 @@ public:
COLOR_LIMIT = 256,
COLOR_NONE = 0xFFFFFFFF,
};
- cColor() { m_Color = static_cast<unsigned int>(COLOR_NONE);}
+ cColor() { m_Color = static_cast<unsigned int>(COLOR_NONE); }
cColor(unsigned char a_Red, unsigned char a_Green, unsigned char a_Blue) { SetColor(a_Red, a_Green, a_Blue); }
/** Returns whether the color is a valid color */