Skip to content
This repository has been archived by the owner on Dec 1, 2022. It is now read-only.

Fix compile error #564

Merged
merged 3 commits into from
Jun 21, 2021
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: 1 addition & 0 deletions src/common/expression/LabelAttributeExpression.h
Original file line number Diff line number Diff line change
Expand Up @@ -35,6 +35,7 @@ class LabelAttributeExpression final : public Expression {

const Value& eval(ExpressionContext&) override {
LOG(FATAL) << "LabelAttributeExpression has to be rewritten";
return Value::kNullBadData;
}

void accept(ExprVisitor *visitor) override;
Expand Down
3 changes: 1 addition & 2 deletions src/common/expression/TextSearchExpression.h
Original file line number Diff line number Diff line change
Expand Up @@ -82,8 +82,6 @@ class TextSearchArgument final {
};

class TextSearchExpression : public Expression {
friend class Expression;

public:
TextSearchExpression(Kind kind, TextSearchArgument* arg)
: Expression(kind) {
Expand All @@ -94,6 +92,7 @@ class TextSearchExpression : public Expression {

const Value& eval(ExpressionContext&) override {
LOG(FATAL) << "TextSearchExpression has to be rewritten";
return Value::kNullBadData;
}

void accept(ExprVisitor*) override {
Expand Down