mirror of
https://github.com/keymanapp/keyman.git
synced 2026-08-05 00:15:32 +00:00
feat(core): fix build failure on Windows
This commit is contained in:
parent
069cd21ecd
commit
052ae2ec35
1 changed files with 2 additions and 2 deletions
|
|
@ -86,10 +86,10 @@ TEST_F(KmCoreKeyboardApiTests, LoadFromBlobNull) {
|
|||
// Setup
|
||||
km::core::path kmxfile = "";
|
||||
|
||||
uint8_t data[] = {};
|
||||
std::unique_ptr<uint8_t> data(new uint8_t[0]);
|
||||
|
||||
// Execute
|
||||
auto status = km_core_keyboard_load_from_blob(kmxfile.stem().c_str(), data, 0, &this->keyboard);
|
||||
auto status = km_core_keyboard_load_from_blob(kmxfile.stem().c_str(), data.get(), 0, &this->keyboard);
|
||||
|
||||
// Verify
|
||||
EXPECT_EQ(status, KM_CORE_STATUS_INVALID_ARGUMENT);
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue