mirror of
https://github.com/juce-framework/JUCE.git
synced 2026-01-09 23:34:20 +00:00
CachedValue: Stop suppressing floating point comparison warnings
This commit is contained in:
parent
b800890ec6
commit
8c29cab261
2 changed files with 26 additions and 2 deletions
|
|
@ -118,9 +118,7 @@ public:
|
|||
template <typename OtherType>
|
||||
bool operator== (const OtherType& other) const
|
||||
{
|
||||
JUCE_BEGIN_IGNORE_WARNINGS_GCC_LIKE ("-Wfloat-equal")
|
||||
return cachedValue == other;
|
||||
JUCE_END_IGNORE_WARNINGS_GCC_LIKE
|
||||
}
|
||||
|
||||
/** Returns true if the current value of the property (or the fallback value)
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue