mirror of
https://github.com/juce-framework/JUCE.git
synced 2026-01-10 23:44:24 +00:00
Cleared up some overlap between the JUCE_CLANG and JUCE_GCC flags
This commit is contained in:
parent
00d98c991d
commit
876b4ae1d3
8 changed files with 10 additions and 11 deletions
|
|
@ -108,7 +108,7 @@ public:
|
|||
forcedinline uint8 getGreen() const noexcept { return components.g; }
|
||||
forcedinline uint8 getBlue() const noexcept { return components.b; }
|
||||
|
||||
#if JUCE_GCC && ! JUCE_CLANG
|
||||
#if JUCE_GCC
|
||||
// NB these are here as a workaround because GCC refuses to bind to packed values.
|
||||
forcedinline uint8& getAlpha() noexcept { return comps [indexA]; }
|
||||
forcedinline uint8& getRed() noexcept { return comps [indexR]; }
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue