Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
1 change: 0 additions & 1 deletion Framework/Core/include/Framework/Expressions.h
Original file line number Diff line number Diff line change
Expand Up @@ -189,7 +189,6 @@ struct ParameterNode : LiteralNode {
struct ConditionalNode {
};


/// concepts
template <typename T>
concept is_literal_like = std::same_as<T, LiteralNode> || std::same_as<T, PlaceholderNode> || std::same_as<T, ParameterNode>;
Expand Down
4 changes: 2 additions & 2 deletions Framework/Core/src/Expressions.cxx
Original file line number Diff line number Diff line change
Expand Up @@ -246,7 +246,7 @@ Operations createOperations(Filter const& expression)

auto processLeaf = [](Node const* const node) {
return std::visit(
[](auto const& n){return makeDatum(n);},
[](auto const& n) { return makeDatum(n); },
node->self);
};

Expand All @@ -261,7 +261,7 @@ Operations createOperations(Filter const& expression)
// create operation spec, pop the node and add its children
auto operationSpec =
std::visit(
[&](auto const& n){ return makeOp(n, top.node_ptr->index); },
[&](auto const& n) { return makeOp(n, top.node_ptr->index); },
top.node_ptr->self);

operationSpec.result = DatumSpec{top.index, operationSpec.type};
Expand Down