Skip to content

Commit

Permalink
types are shared, don't delete Symbol's types
Browse files Browse the repository at this point in the history
  • Loading branch information
Martin Suda committed Nov 15, 2017
1 parent b12d36b commit 23ea087
Show file tree
Hide file tree
Showing 2 changed files with 0 additions and 10 deletions.
9 changes: 0 additions & 9 deletions Kernel/Signature.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -72,15 +72,6 @@ Signature::Symbol::Symbol(const vstring& nm,unsigned arity, bool interpreted, bo
}
} // Symbol::Symbol

Signature::Symbol::~Symbol()
{
CALL("Signature::Symbol::~Symbol");

if (_type) {
delete _type;
}
}

/**
* Deallocate function Symbol object
*/
Expand Down
1 change: 0 additions & 1 deletion Kernel/Signature.hpp
Original file line number Diff line number Diff line change
Expand Up @@ -99,7 +99,6 @@ class Signature
/** if used in a unit **/
unsigned _inUnit : 1;

~Symbol();
public:
/** standard constructor */
Symbol(const vstring& nm,unsigned arity, bool interpreted=false, bool stringConstant=false,bool numericConstant=false,bool overflownConstant=false);
Expand Down

0 comments on commit 23ea087

Please sign in to comment.