From 6a685693199be0c7f593f4dd78f3bf5720e6fa0b Mon Sep 17 00:00:00 2001 From: Eduardo Bart Date: Fri, 3 Aug 2012 16:35:39 -0300 Subject: [PATCH] Minor changes --- src/framework/core/consoleapplication.cpp | 5 ----- src/framework/stdext/packed_vector.h | 4 ++-- 2 files changed, 2 insertions(+), 7 deletions(-) diff --git a/src/framework/core/consoleapplication.cpp b/src/framework/core/consoleapplication.cpp index 5e6c62d6..0fa5b583 100644 --- a/src/framework/core/consoleapplication.cpp +++ b/src/framework/core/consoleapplication.cpp @@ -45,11 +45,6 @@ void ConsoleApplication::run() while(!m_stopping) { poll(); - -#ifdef FW_NET - Connection::poll(); -#endif - stdext::millisleep(1); g_clock.update(); m_frameCounter.update(); diff --git a/src/framework/stdext/packed_vector.h b/src/framework/stdext/packed_vector.h index 7d5e56f4..9c0a4951 100644 --- a/src/framework/stdext/packed_vector.h +++ b/src/framework/stdext/packed_vector.h @@ -152,10 +152,10 @@ private: // restore memory alignment #pragma pack(pop) +} + namespace std { template void swap(stdext::packed_vector& lhs, stdext::packed_vector& rhs) { lhs.swap(rhs); } } -} - #endif