From 5b3d5f8c027b0e56c6d7090080be4cc27ee151a2 Mon Sep 17 00:00:00 2001 From: Lioncash Date: Thu, 4 Sep 2014 19:17:24 -0400 Subject: [PATCH] d3d: Remove the auto variable and replace it with it's concrete type --- gfx/d3d9/d3d.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/gfx/d3d9/d3d.cpp b/gfx/d3d9/d3d.cpp index ff56140d92..3bf71d81ff 100644 --- a/gfx/d3d9/d3d.cpp +++ b/gfx/d3d9/d3d.cpp @@ -834,7 +834,7 @@ static bool d3d_set_shader(void *data, enum rarch_shader_type type, const char * if (path && type == RARCH_SHADER_CG) shader = path; - auto old_shader = d3d->cg_shader; + std::string old_shader = d3d->cg_shader; bool restore_old = false; d3d->cg_shader = shader;