mirror of
https://github.com/UpsilonNumworks/Upsilon.git
synced 2026-01-19 16:57:31 +01:00
[shared] Create ExpiringPointer: in DEBUG, check that pointers to
memoized functions are not used when invalid
This commit is contained in:
@@ -69,7 +69,7 @@ void StorageFunctionParameterController::willDisplayCellForIndex(HighlightCell *
|
||||
}
|
||||
}
|
||||
|
||||
StorageCartesianFunction * StorageFunctionParameterController::function() {
|
||||
ExpiringPointer<StorageCartesianFunction> StorageFunctionParameterController::function() {
|
||||
App * a = static_cast<App *>(app());
|
||||
return a->functionStore()->modelForRecord(m_record);
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user