diff options
author | Andrei Karas <akaras@inbox.ru> | 2017-12-22 02:51:13 +0300 |
---|---|---|
committer | Andrei Karas <akaras@inbox.ru> | 2017-12-22 02:51:27 +0300 |
commit | c58b6c63c89e18a9feef819f584426d329ff38ac (patch) | |
tree | c4a79de160b0cd21f99677a0ca8d547b9f40705b /src/gui/userpalette.h | |
parent | b54c0e944974669c4b5c1eb3f8018547c2179630 (diff) | |
download | manaverse-c58b6c63c89e18a9feef819f584426d329ff38ac.tar.gz manaverse-c58b6c63c89e18a9feef819f584426d329ff38ac.tar.bz2 manaverse-c58b6c63c89e18a9feef819f584426d329ff38ac.tar.xz manaverse-c58b6c63c89e18a9feef819f584426d329ff38ac.zip |
Remove default parameters from userpalette.
Diffstat (limited to 'src/gui/userpalette.h')
-rw-r--r-- | src/gui/userpalette.h | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/gui/userpalette.h b/src/gui/userpalette.h index 4f7e0e941..bc20fb486 100644 --- a/src/gui/userpalette.h +++ b/src/gui/userpalette.h @@ -157,7 +157,7 @@ class UserPalette final : public Palette, public ListModel * @return the requested color */ inline const Color &getColor(UserColorIdT type, - const unsigned int alpha = 255U) + const unsigned int alpha) A_WARN_UNUSED { if (CAST_SIZE(type) >= mColors.size()) @@ -239,7 +239,7 @@ class UserPalette final : public Palette, public ListModel const unsigned rgb, GradientTypeT grad, const std::string &text, - int delay = GRADIENT_DELAY); + int delay); void addLabel(const UserColorIdT type, const std::string &text); |