Removed the dependencies on utility.*pp

This commit is contained in:
Kayne Ruse
2015-01-17 21:46:12 +11:00
parent de6eb38516
commit 7356e8ae77
7 changed files with 18 additions and 95 deletions
+3 -2
View File
@@ -22,7 +22,6 @@
#include "in_world.hpp"
#include "channels.hpp"
#include "utility.hpp"
#include "terminal_error.hpp"
#include <stdexcept>
@@ -197,7 +196,9 @@ void InWorld::Render(SDL_Surface* const screen) {
//draw UI
disconnectButton.DrawTo(screen);
shutDownButton.DrawTo(screen);
font.DrawStringTo(to_string_custom(fps.GetFrameRate()), screen, 0, 0);
std::ostringstream msg;
msg << fps.GetFrameRate();
font.DrawStringTo(msg.str(), screen, 0, 0);
}
//-------------------------