1
0
Fork 0
mirror of https://github.com/juce-framework/JUCE.git synced 2026-01-10 23:44:24 +00:00

Added a compiler error if your compiler is too old and removed numerous code checks for old compilers which are now deprecated

This commit is contained in:
hogliux 2017-02-01 15:53:35 +00:00
parent 871236d4cd
commit 9f3fb1c0a6
80 changed files with 121 additions and 263 deletions

View file

@ -153,7 +153,6 @@ TextLayout::TextLayout (const TextLayout& other)
lines.addCopiesOf (other.lines);
}
#if JUCE_COMPILER_SUPPORTS_MOVE_SEMANTICS
TextLayout::TextLayout (TextLayout&& other) noexcept
: lines (static_cast<OwnedArray<Line>&&> (other.lines)),
width (other.width), height (other.height),
@ -169,7 +168,6 @@ TextLayout& TextLayout::operator= (TextLayout&& other) noexcept
justification = other.justification;
return *this;
}
#endif
TextLayout& TextLayout::operator= (const TextLayout& other)
{