mirror of
https://github.com/juce-framework/JUCE.git
synced 2026-01-10 23:44:24 +00:00
Avoided a Visual Studio compiler warning in Rectangle
This commit is contained in:
parent
6f092d602d
commit
9906788e9b
1 changed files with 2 additions and 2 deletions
|
|
@ -914,8 +914,8 @@ private:
|
|||
Point<ValueType> pos;
|
||||
ValueType w, h;
|
||||
|
||||
static int parseIntAfterSpace (StringRef s) noexcept
|
||||
{ return s.text.findEndOfWhitespace().getIntValue32(); }
|
||||
static ValueType parseIntAfterSpace (StringRef s) noexcept
|
||||
{ return static_cast<ValueType> (s.text.findEndOfWhitespace().getIntValue32()); }
|
||||
|
||||
void copyWithRounding (Rectangle<int>& result) const noexcept { result = getSmallestIntegerContainer(); }
|
||||
void copyWithRounding (Rectangle<float>& result) const noexcept { result = toFloat(); }
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue