diff options
author | Bjørn Lindeijer <bjorn@lindeijer.nl> | 2005-01-14 16:09:15 +0000 |
---|---|---|
committer | Bjørn Lindeijer <bjorn@lindeijer.nl> | 2005-01-14 16:09:15 +0000 |
commit | 97e47610b2ca88398b8f9c249cb008678f5ab1e1 (patch) | |
tree | 256b3390667972a55c87a85edff349558e716f4a /src/resources | |
parent | b7170d13fd71fb624c06c4536974a7cd3f77591b (diff) | |
download | mana-97e47610b2ca88398b8f9c249cb008678f5ab1e1.tar.gz mana-97e47610b2ca88398b8f9c249cb008678f5ab1e1.tar.bz2 mana-97e47610b2ca88398b8f9c249cb008678f5ab1e1.tar.xz mana-97e47610b2ca88398b8f9c249cb008678f5ab1e1.zip |
Some fixes for Dev-C++ but it has a black screen problem.
Diffstat (limited to 'src/resources')
-rw-r--r-- | src/resources/resourcemanager.cpp | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/src/resources/resourcemanager.cpp b/src/resources/resourcemanager.cpp index 3a7b3897..838dcd6b 100644 --- a/src/resources/resourcemanager.cpp +++ b/src/resources/resourcemanager.cpp @@ -25,6 +25,7 @@ #include "image.h" #include "resourcemanager.h" #include <iostream> +#include <sstream> #ifdef WIN32 #include <direct.h> @@ -96,7 +97,7 @@ Resource* ResourceManager::get(const E_RESOURCE_TYPE &type, // Flip all of the idPath '/' to '\' unsigned int begPos = 0; unsigned int endPos = idPath.find("/"); - std::strstream result; + std::stringstream result; // Loop through and replace all the characters. while (endPos != std::string::npos) { |