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
This commit is contained in:
Pavel Labath committed 2016-01-20 12:23:23 +00:00
1 parent db1958d136
commit a975959996
1 file changed
+1 -1
@@ -391,7 +391,7 @@ const unsigned int RenderScriptRuntime::AllocationDetails::RSTypeToFormat[][3] =
};
const std::string RenderScriptRuntime::s_runtimeExpandSuffix(".expand");
const std::array<const char *, 3> RenderScriptRuntime::s_runtimeCoordVars{"rsIndex", "p->current.y", "p->current.z"};
const std::array<const char *, 3> RenderScriptRuntime::s_runtimeCoordVars{{"rsIndex", "p->current.y", "p->current.z"}};
//------------------------------------------------------------------
// Static Functions
//------------------------------------------------------------------