1
0

Fixes for clang-3.7

This commit is contained in:
Lukas Pioch
2015-12-19 22:41:17 +01:00
parent 01bd614b86
commit 50a908fdc9
5 changed files with 7 additions and 7 deletions

View File

@@ -124,7 +124,7 @@ void cIncrementalRedstoneSimulator::Simulate(float a_dt)
continue;
}
auto CurrentHandler = std::move(cIncrementalRedstoneSimulator::CreateComponent(m_World, CurrentBlock, &m_Data));
auto CurrentHandler = cIncrementalRedstoneSimulator::CreateComponent(m_World, CurrentBlock, &m_Data);
if (CurrentHandler == nullptr)
{
continue;
@@ -141,7 +141,7 @@ void cIncrementalRedstoneSimulator::Simulate(float a_dt)
}
m_World.GetBlockTypeMeta(Location.x, Location.y, Location.z, PotentialBlock, PotentialMeta);
auto PotentialSourceHandler = std::move(cIncrementalRedstoneSimulator::CreateComponent(m_World, PotentialBlock, &m_Data));
auto PotentialSourceHandler = cIncrementalRedstoneSimulator::CreateComponent(m_World, PotentialBlock, &m_Data);
if (PotentialSourceHandler == nullptr)
{
continue;