diff --git a/common/project/project_file.cpp b/common/project/project_file.cpp index 72f07a05e4..2c65b9393d 100644 --- a/common/project/project_file.cpp +++ b/common/project/project_file.cpp @@ -570,7 +570,7 @@ void to_json( nlohmann::json& aJson, const FILE_INFO_PAIR& aPair ) void from_json( const nlohmann::json& aJson, FILE_INFO_PAIR& aPair ) { - wxASSERT( aJson.is_array() && aJson.size() == 2 ); + wxCHECK( aJson.is_array() && aJson.size() == 2, /* void */ ); aPair.first = KIID( wxString( aJson[0].get().c_str(), wxConvUTF8 ) ); aPair.second = wxString( aJson[1].get().c_str(), wxConvUTF8 ); }