diff --git a/plugins/GSdx/GSOsdManager.cpp b/plugins/GSdx/GSOsdManager.cpp index a08935e7c5..c791057a8b 100644 --- a/plugins/GSdx/GSOsdManager.cpp +++ b/plugins/GSdx/GSOsdManager.cpp @@ -178,9 +178,9 @@ void GSOsdManager::Log(const char *utf8, uint32 color) { for(char32_t* c = buffer; *c; ++c) AddGlyph(*c); #else #if _MSC_VER == 1900 - std::wstring_convert, unsigned int> conv; + std::wstring_convert, unsigned int> conv; #else - std::wstring_convert, char32_t> conv; + std::wstring_convert, char32_t> conv; #endif std::u32string buffer = conv.from_bytes(utf8); for(auto const &c : buffer) AddGlyph(c); @@ -203,9 +203,9 @@ void GSOsdManager::Monitor(const char *key, const char *value, uint32 color) { for(char32_t* c = vbuffer; *c; ++c) AddGlyph(*c); #else #if _MSC_VER == 1900 - std::wstring_convert, unsigned int> conv; + std::wstring_convert, unsigned int> conv; #else - std::wstring_convert, char32_t> conv; + std::wstring_convert, char32_t> conv; #endif std::u32string buffer = conv.from_bytes(key); std::u32string vbuffer = conv.from_bytes(value); @@ -219,9 +219,9 @@ void GSOsdManager::Monitor(const char *key, const char *value, uint32 color) { dumb_utf8_to_utf32(key, buffer, countof(buffer)); #else #if _MSC_VER == 1900 - std::wstring_convert, unsigned int> conv; + std::wstring_convert, unsigned int> conv; #else - std::wstring_convert, char32_t> conv; + std::wstring_convert, char32_t> conv; #endif std::u32string buffer = conv.from_bytes(key); #endif diff --git a/plugins/GSdx/GSRendererCL.cpp b/plugins/GSdx/GSRendererCL.cpp index 14035739db..839f3932a0 100644 --- a/plugins/GSdx/GSRendererCL.cpp +++ b/plugins/GSdx/GSRendererCL.cpp @@ -1997,7 +1997,7 @@ void GSRendererCL::CL::Unmap() pb.mapped_ptr = pb.ptr = NULL; } -cl::Kernel GSRendererCL::CL::Build(const char* entry, ostringstream& opt) +cl::Kernel GSRendererCL::CL::Build(const char* entry, std::ostringstream& opt) { cl::Program program; @@ -2017,7 +2017,7 @@ cl::Kernel GSRendererCL::CL::Build(const char* entry, ostringstream& opt) { fseek(f, 0, SEEK_END); long size = ftell(f); - pair b(new char[size], size); + std::pair b(new char[size], size); fseek(f, 0, SEEK_SET); fread(b.first, b.second, 1, f); fclose(f); @@ -2114,7 +2114,7 @@ cl::Kernel GSRendererCL::CL::Build(const char* entry, ostringstream& opt) return cl::Kernel(program, entry); } -void GSRendererCL::CL::AddDefs(ostringstream& opt) +void GSRendererCL::CL::AddDefs(std::ostringstream& opt) { if(version == 110) opt << "-cl-std=CL1.1 "; else opt << "-cl-std=CL1.2 "; @@ -2146,7 +2146,7 @@ cl::Kernel& GSRendererCL::CL::GetPrimKernel(const PrimSelector& sel) sprintf(entry, "prim_%02x", sel.key); - ostringstream opt; + std::ostringstream opt; opt << "-D KERNEL_PRIM=" << entry << " "; opt << "-D PRIM=" << sel.prim << " "; @@ -2173,7 +2173,7 @@ cl::Kernel& GSRendererCL::CL::GetTileKernel(const TileSelector& sel) sprintf(entry, "tile_%02x", sel.key); - ostringstream opt; + std::ostringstream opt; opt << "-D KERNEL_TILE=" << entry << " "; opt << "-D PRIM=" << sel.prim << " "; @@ -2202,7 +2202,7 @@ cl::Kernel& GSRendererCL::CL::GetTFXKernel(const TFXSelector& sel) sprintf(entry, "tfx_%016llx", sel.key); - ostringstream opt; + std::ostringstream opt; opt << "-D KERNEL_TFX=" << entry << " "; opt << "-D FPSM=" << sel.fpsm << " "; diff --git a/plugins/GSdx/GSRendererCL.h b/plugins/GSdx/GSRendererCL.h index 853dc38263..ceb346b5e9 100644 --- a/plugins/GSdx/GSRendererCL.h +++ b/plugins/GSdx/GSRendererCL.h @@ -194,8 +194,8 @@ class GSRendererCL : public GSRenderer std::map tile_map; std::map tfx_map; - cl::Kernel Build(const char* entry, ostringstream& opt); - void AddDefs(ostringstream& opt); + cl::Kernel Build(const char* entry, std::ostringstream& opt); + void AddDefs(std::ostringstream& opt); public: std::vector devs;