maint: use {} initializer for strings more often

This commit is contained in:
Diavolo 2023-06-19 19:08:53 +02:00
parent 3f3cfc0be8
commit 1bdb56f6a0
No known key found for this signature in database
GPG Key ID: FA77F074E98D98A5

View File

@ -224,21 +224,23 @@ namespace Components
// Load public key // Load public key
static std::uint8_t publicKey[] = static std::uint8_t publicKey[] =
{ {
0x04, 0x01, 0x9D, 0x18, 0x7F, 0x57, 0xD8, 0x95, 0x4C, 0xEE, 0xD0, 0x21, 0x04, 0x01, 0xC1, 0x86, 0x33, 0x59, 0x69, 0xE0, 0x8A, 0x85,
0xB5, 0x00, 0x53, 0xEC, 0xEB, 0x54, 0x7C, 0x4C, 0x37, 0x18, 0x53, 0x89, 0x59, 0x5A, 0x30, 0xC9, 0x9D, 0x34, 0x4B, 0x12, 0x81, 0x32,
0x40, 0x12, 0xF7, 0x08, 0x8D, 0x9A, 0x8D, 0x99, 0x9C, 0x79, 0x79, 0x59, 0xE7, 0x55, 0x13, 0xC1, 0x5A, 0x08, 0x78, 0x6A, 0xB2, 0x69,
0x6E, 0x32, 0x06, 0xEB, 0x49, 0x1E, 0x00, 0x99, 0x71, 0xCB, 0x4A, 0xE1, 0x5D, 0x7F, 0x68, 0x2C, 0xE6, 0xA5, 0x55, 0xF0, 0xE1, 0x87,
0x90, 0xF1, 0x7C, 0xB7, 0x4D, 0x60, 0x88, 0x0A, 0xB7, 0xF3, 0xD7, 0x0D, 0xCB, 0xA7, 0x32, 0xBA, 0x5F, 0x68, 0xFC, 0xD2, 0x31, 0xFC,
0x4F, 0x08, 0x13, 0x7C, 0xEB, 0x01, 0xFF, 0x00, 0x32, 0xEE, 0xE6, 0x23, 0x51, 0x7D, 0xEF, 0x9D, 0x46, 0x6E, 0xBF, 0xB6, 0x84, 0xA4,
0x07, 0xB1, 0xC2, 0x9E, 0x45, 0xD6, 0xD7, 0xBD, 0xED, 0x05, 0x23, 0xB5, 0xBD, 0x19, 0xBD, 0x03, 0x28, 0x3B, 0xCD, 0x00, 0x67, 0xCD,
0xE7, 0x83, 0xEF, 0xD7, 0x8E, 0x36, 0xDC, 0x16, 0x79, 0x74, 0xD1, 0xD5, 0x8B, 0x90, 0x08, 0xB0, 0x05, 0xBF, 0x45, 0x93, 0xCB, 0x31,
0xBA, 0x2C, 0x4C, 0x28, 0x61, 0x29, 0x5C, 0x49, 0x7D, 0xD4, 0xB6, 0x56, 0xD0, 0xFB, 0xA6, 0x50, 0xE0, 0x0B, 0x04, 0x95, 0x60, 0x83,
0x17, 0x75, 0xF5, 0x2B, 0x58, 0xCD, 0x0D, 0x76, 0x65, 0x10, 0xF7, 0x51, 0x88, 0xC5, 0xDC, 0x6F, 0xD7, 0xC3, 0xFA, 0x4F, 0x4B, 0xF2,
0x69, 0x1D, 0xB9, 0x0F, 0x38, 0xF6, 0x53, 0x3B, 0xF7, 0xCE, 0x76, 0x4F, 0x17, 0xCC, 0x75, 0x7E, 0xE9, 0xD9, 0xE8, 0xC4, 0xEB, 0xA4,
0x08 0x73, 0x93, 0xCF, 0xD1, 0x51, 0x9A, 0xE0, 0x69, 0x37, 0xAA,
0x20, 0x2F, 0xFD, 0xC4, 0xBA, 0xFB, 0x86, 0x1E, 0x08, 0xEB,
0xA0, 0x72, 0x84,
}; };
RconKey.set(std::string(reinterpret_cast<char*>(publicKey), sizeof(publicKey))); RconKey.set(std::string{ reinterpret_cast<char*>(publicKey), sizeof(publicKey) });
RconContainer.timestamp = 0; RconContainer.timestamp = 0;