diff options
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) { |