diff options
author | Andrei Karas <akaras@inbox.ru> | 2016-04-30 21:18:24 +0300 |
---|---|---|
committer | Andrei Karas <akaras@inbox.ru> | 2016-04-30 21:18:24 +0300 |
commit | 9ff808fb20962884d56147d46c8e4de915a0735d (patch) | |
tree | b09025e75c2e57a48e5be971953edbc14b466846 /src/resources/dye | |
parent | aaa274245a584c633dcfdb5444bbc1dc21c0c28f (diff) | |
download | mv-9ff808fb20962884d56147d46c8e4de915a0735d.tar.gz mv-9ff808fb20962884d56147d46c8e4de915a0735d.tar.bz2 mv-9ff808fb20962884d56147d46c8e4de915a0735d.tar.xz mv-9ff808fb20962884d56147d46c8e4de915a0735d.zip |
Disable noexcept for clang and old gcc versions.
Diffstat (limited to 'src/resources/dye')
-rw-r--r-- | src/resources/dye/dyecolor.h | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/src/resources/dye/dyecolor.h b/src/resources/dye/dyecolor.h index a7b5bbd7f..c28428a0d 100644 --- a/src/resources/dye/dyecolor.h +++ b/src/resources/dye/dyecolor.h @@ -25,14 +25,14 @@ struct DyeColor final { - DyeColor() noexcept + DyeColor() noexcept2 { value[3] = 255; } DyeColor(const uint8_t r, const uint8_t g, - const uint8_t b) noexcept + const uint8_t b) noexcept2 { value[0] = r; value[1] = g; @@ -43,7 +43,7 @@ struct DyeColor final DyeColor(const uint8_t r, const uint8_t g, const uint8_t b, - const uint8_t a) noexcept + const uint8_t a) noexcept2 { value[0] = r; value[1] = g; |