Commit ebe68b91 authored by Peter Eastman's avatar Peter Eastman
Browse files

Fixed a compiler warning

parent 508dab43
...@@ -59,7 +59,7 @@ ExpressionTreeNode::ExpressionTreeNode(Operation* operation) : operation(operati ...@@ -59,7 +59,7 @@ ExpressionTreeNode::ExpressionTreeNode(Operation* operation) : operation(operati
throw Exception("wrong number of arguments to function: "+operation->getName()); throw Exception("wrong number of arguments to function: "+operation->getName());
} }
ExpressionTreeNode::ExpressionTreeNode(const ExpressionTreeNode& node) : operation(&node.getOperation() == NULL ? NULL : node.getOperation().clone()), children(node.getChildren()) { ExpressionTreeNode::ExpressionTreeNode(const ExpressionTreeNode& node) : operation(node.operation == NULL ? NULL : node.operation->clone()), children(node.getChildren()) {
} }
ExpressionTreeNode::ExpressionTreeNode() : operation(NULL) { ExpressionTreeNode::ExpressionTreeNode() : operation(NULL) {
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment