mirror of
https://github.com/UpsilonNumworks/Upsilon.git
synced 2026-03-28 01:59:59 +01:00
[poincare] In context: clean setExpressionForSymbol
Change-Id: I13f51a6c84537be43de3b78de68e77fade502344
This commit is contained in:
@@ -16,7 +16,7 @@ VariableContext<T>::VariableContext(char name, Context * parentContext) :
|
||||
}
|
||||
|
||||
template<typename T>
|
||||
void VariableContext<T>::setExpressionForSymbolName(Expression * expression, const Symbol * symbol) {
|
||||
void VariableContext<T>::setExpressionForSymbolName(const Expression * expression, const Symbol * symbol) {
|
||||
if (symbol->name() == m_name) {
|
||||
if (expression == nullptr) {
|
||||
return;
|
||||
|
||||
Reference in New Issue
Block a user