mirror of
https://github.com/UpsilonNumworks/Upsilon.git
synced 2026-03-18 21:30:38 +01:00
[apps/solver] Quiz assertion are supposed to run in release mode too
This commit is contained in:
@@ -14,7 +14,6 @@ namespace Solver {
|
||||
void addEquationWithText(EquationStore * equationStore, const char * text, Context * context) {
|
||||
Ion::Storage::Record::ErrorStatus err = equationStore->addEmptyModel();
|
||||
quiz_assert_print_if_failure(err == Ion::Storage::Record::ErrorStatus::None, text);
|
||||
(void) err; // Silence warning in release mode
|
||||
Ion::Storage::Record record = equationStore->recordAtIndex(equationStore->numberOfModels()-1);
|
||||
Shared::ExpiringPointer<Equation> model = equationStore->modelForRecord(record);
|
||||
model->setContent(text, context);
|
||||
|
||||
Reference in New Issue
Block a user