mirror of
https://github.com/juce-framework/JUCE.git
synced 2026-01-10 23:44:24 +00:00
Fixed a typo in the introjucer. C++0x fixes.
This commit is contained in:
parent
ffc2f5d40e
commit
d55b7419ec
14 changed files with 83 additions and 43 deletions
|
|
@ -47,6 +47,19 @@ RectangleList& RectangleList::operator= (const RectangleList& other)
|
|||
return *this;
|
||||
}
|
||||
|
||||
#if JUCE_COMPILER_SUPPORTS_MOVE_SEMANTICS
|
||||
RectangleList::RectangleList (RectangleList&& other) noexcept
|
||||
: rects (static_cast <Array <Rectangle<int> >&&> (other.rects))
|
||||
{
|
||||
}
|
||||
|
||||
RectangleList& RectangleList::operator= (RectangleList&& other) noexcept
|
||||
{
|
||||
rects = static_cast <Array <Rectangle<int> >&&> (other.rects);
|
||||
return *this;
|
||||
}
|
||||
#endif
|
||||
|
||||
RectangleList::~RectangleList()
|
||||
{
|
||||
}
|
||||
|
|
|
|||
|
|
@ -56,6 +56,11 @@ public:
|
|||
/** Copies this list from another one. */
|
||||
RectangleList& operator= (const RectangleList& other);
|
||||
|
||||
#if JUCE_COMPILER_SUPPORTS_MOVE_SEMANTICS
|
||||
RectangleList (RectangleList&& other) noexcept;
|
||||
RectangleList& operator= (RectangleList&& other) noexcept;
|
||||
#endif
|
||||
|
||||
/** Destructor. */
|
||||
~RectangleList();
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue