From a97595999653b2a2c79a7efd10bfce4fdcf15b44 Mon Sep 17 00:00:00 2001 From: Pavel Labath Date: Wed, 20 Jan 2016 12:23:23 +0000 Subject: Fix clang warning in RenderScriptRuntime std::array should have "the same semantics as a struct holding a C-style array T[N] as its only non-static data member", so the initialization should have one more level of braces. Hopefully, no compiler will object to that. llvm-svn: 258306 --- .../RenderScript/RenderScriptRuntime/RenderScriptRuntime.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'lldb/source/Plugins/LanguageRuntime/RenderScript/RenderScriptRuntime/RenderScriptRuntime.cpp') diff --git a/lldb/source/Plugins/LanguageRuntime/RenderScript/RenderScriptRuntime/RenderScriptRuntime.cpp b/lldb/source/Plugins/LanguageRuntime/RenderScript/RenderScriptRuntime/RenderScriptRuntime.cpp index a1c6fa69cec..5b7090823e5 100644 --- a/lldb/source/Plugins/LanguageRuntime/RenderScript/RenderScriptRuntime/RenderScriptRuntime.cpp +++ b/lldb/source/Plugins/LanguageRuntime/RenderScript/RenderScriptRuntime/RenderScriptRuntime.cpp @@ -391,7 +391,7 @@ const unsigned int RenderScriptRuntime::AllocationDetails::RSTypeToFormat[][3] = }; const std::string RenderScriptRuntime::s_runtimeExpandSuffix(".expand"); -const std::array RenderScriptRuntime::s_runtimeCoordVars{"rsIndex", "p->current.y", "p->current.z"}; +const std::array RenderScriptRuntime::s_runtimeCoordVars{{"rsIndex", "p->current.y", "p->current.z"}}; //------------------------------------------------------------------ // Static Functions //------------------------------------------------------------------ -- cgit v1.2.3