Move semantics in SizeNotifiable.
This commit is contained in:
parent
6fe884cd5a
commit
2a4ae78374
4 changed files with 40 additions and 22 deletions
|
@ -33,6 +33,16 @@ namespace cloonel {
|
|||
assert(m_surface);
|
||||
}
|
||||
|
||||
///--------------------------------------------------------------------------
|
||||
///--------------------------------------------------------------------------
|
||||
Platform::Platform (Platform&& parOther) :
|
||||
m_screenRatio(std::move(parOther.m_screenRatio)),
|
||||
m_position(parOther.m_position),
|
||||
m_size(parOther.m_size),
|
||||
m_surface(parOther.m_surface)
|
||||
{
|
||||
}
|
||||
|
||||
///--------------------------------------------------------------------------
|
||||
///--------------------------------------------------------------------------
|
||||
void Platform::Draw() const {
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue