mirror of
https://github.com/dolphin-emu/dolphin.git
synced 2025-07-21 05:09:34 -06:00
UnitTests: Use constexpr
This commit is contained in:
@ -9,7 +9,7 @@ TEST(SHA1, Vectors)
|
||||
{
|
||||
const char* msg;
|
||||
const Common::SHA1::Digest expected;
|
||||
} const vectors[]{
|
||||
} constexpr vectors[]{
|
||||
{"", {0xda, 0x39, 0xa3, 0xee, 0x5e, 0x6b, 0x4b, 0x0d, 0x32, 0x55,
|
||||
0xbf, 0xef, 0x95, 0x60, 0x18, 0x90, 0xaf, 0xd8, 0x07, 0x09}},
|
||||
{"abc", {0xa9, 0x99, 0x3e, 0x36, 0x47, 0x06, 0x81, 0x6a, 0xba, 0x3e,
|
||||
|
Reference in New Issue
Block a user