Fix PR comments

This commit is contained in:
Patrick Niklaus 2016-01-26 16:53:48 +01:00
parent d9c281cd7c
commit 0802804677
2 changed files with 3 additions and 5 deletions

View File

@ -285,7 +285,7 @@ template <class EdgeDataT> class SharedDataFacade final : public BaseDataFacade<
util::SimpleLogger().Write(logDEBUG) << "Performing data reload";
m_layout_memory.reset(storage::makeSharedMemory(CURRENT_LAYOUT));
data_layout = (storage::SharedDataLayout *)(m_layout_memory->Ptr());
data_layout = static_cast<storage::SharedDataLayout*>(m_layout_memory->Ptr());
m_large_memory.reset(storage::makeSharedMemory(CURRENT_DATA));
shared_memory = (char *)(m_large_memory->Ptr());

View File

@ -113,8 +113,7 @@ inline void DEBUG_GEOMETRY_STOP()
{
if (dg_output_debug_geometry)
{
debug_geometry_file << std::endl
<< "]}" << std::endl;
debug_geometry_file << "\n]}" << std::endl;
debug_geometry_file.close();
}
}
@ -201,8 +200,7 @@ inline void DEBUG_TURNS_STOP()
{
if (dg_output_turn_debug)
{
dg_debug_turns_file << std::endl
<< "]}" << std::endl;
dg_debug_turns_file << "\n]}" << std::endl;
dg_debug_turns_file.close();
}
}