From 484fb46390bcdffcf9509f8d6c784f5b7bce0167 Mon Sep 17 00:00:00 2001 From: Ryan Houdek Date: Mon, 17 Mar 2014 18:17:12 -0500 Subject: Clang 3.4 exposes some warnings on Android. Fixes all warnings on Android build except for what is in externals. Removes a function from TextureDecoder_Generic since it is unused and generates a warning. --- Source/Core/DolphinWX/GLInterface/WGL.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'Source/Core/DolphinWX/GLInterface/WGL.cpp') diff --git a/Source/Core/DolphinWX/GLInterface/WGL.cpp b/Source/Core/DolphinWX/GLInterface/WGL.cpp index 5d5aba260b..3409c49c07 100644 --- a/Source/Core/DolphinWX/GLInterface/WGL.cpp +++ b/Source/Core/DolphinWX/GLInterface/WGL.cpp @@ -33,7 +33,7 @@ void cInterfaceWGL::Swap() SwapBuffers(hDC); } -void* cInterfaceWGL::GetFuncAddress(std::string name) +void* cInterfaceWGL::GetFuncAddress(const std::string& name) { void* func = (void*)wglGetProcAddress((LPCSTR)name.c_str()); if (func == nullptr) -- cgit v1.2.3