OSDN Git Service

Fix braces warning treated as error.
authorNicolas Capens <capn@google.com>
Tue, 14 Aug 2018 14:46:16 +0000 (14:46 +0000)
committerNicolas Capens <nicolascapens@google.com>
Tue, 14 Aug 2018 15:28:00 +0000 (15:28 +0000)
commit80ab360d26224930be89bc0f5935890d048e3591
tree3648c5c4ca5939e392119ffaef510034697d0dee
parent378c434627aa62e5f567b05d389c68b84a6af4fb
Fix braces warning treated as error.

On some platforms, nested braces are required for nested initializers,
or a warning will be produced which is treated as an error.

Change-Id: I4806ee13869bfe5c5c41505552cd03ff6bdde85e
Reviewed-on: https://swiftshader-review.googlesource.com/20248
Tested-by: Nicolas Capens <nicolascapens@google.com>
Reviewed-by: Alexis Hétu <sugoi@google.com>
CMakeLists.txt
tests/unittests/unittests.cpp