summaryrefslogtreecommitdiffstats
path: root/core/color.cpp
diff options
context:
space:
mode:
authorRémi Verschelde <rverschelde@gmail.com>2020-05-19 15:46:49 +0200
committerRémi Verschelde <rverschelde@gmail.com>2020-05-19 15:57:56 +0200
commit85220fec010a4946cb364974eac69418b4e06411 (patch)
treec0b8b99f083180a03d0968c08cd0e6ca10b903b3 /core/color.cpp
parent9b3d43cb974dd3407fd0936e486e34b8cec436e7 (diff)
downloadredot-engine-85220fec010a4946cb364974eac69418b4e06411.tar.gz
Style: Remove unnecessary semicolons from `core`
Semicolons are not necessary after function definitions or control flow blocks, and having some code use them makes things inconsistent (and occasionally can mess up `clang-format`'s formatting). Removing them is tedious work though, I had to do this manually (regex + manual review) as I couldn't find a tool for that. All other code folders would need to get the same treatment.
Diffstat (limited to 'core/color.cpp')
-rw-r--r--core/color.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/core/color.cpp b/core/color.cpp
index fa3f6475d4..27a2d0af5c 100644
--- a/core/color.cpp
+++ b/core/color.cpp
@@ -588,7 +588,7 @@ void Color::operator/=(const real_t &rvalue) {
b = b / rvalue;
a = a / rvalue;
}
-};
+}
Color Color::operator-() const {
return Color(