Move warning fixes!

This commit is contained in:
Lynix
2017-09-30 15:23:05 +02:00
parent 8569d7da88
commit bccbc0dbf1
7 changed files with 44 additions and 44 deletions

View File

@@ -102,7 +102,7 @@ SCENARIO("ByteArray", "[CORE][BYTEARRAY]")
{
Nz::ByteArray abc("abc", 3);
Nz::ByteArray cba;
cba = std::move(Nz::ByteArray("cba", 3));
cba = Nz::ByteArray("cba", 3);
WHEN("We do some antagonists operations")
{

View File

@@ -17,7 +17,7 @@ BaseState::~BaseState()
{
}
void BaseState::Enter(Ndk::StateMachine& fsm)
void BaseState::Enter(Ndk::StateMachine& /*fsm*/)
{
m_text.SetVisible(true);
DrawMenu();

View File

@@ -17,7 +17,7 @@ class MenuState : public BaseState
bool Update(Ndk::StateMachine& fsm, float elapsedTime) override;
private:
void DrawMenu();
void DrawMenu() override;
NazaraSlot(Nz::EventHandler, OnKeyPressed, m_keyPressedSlot);
int m_selectedNextState;