Code review changes
This commit is contained in:
parent
b693308b33
commit
9698a34b7e
@ -1345,7 +1345,7 @@ void TF_OperationGetAttrString(TF_Operation* oper, const char* attr_name,
|
||||
return;
|
||||
}
|
||||
if (max_length == 0) {
|
||||
InvalidArgument("Attribute '", max_length, "' is zero");
|
||||
status->status = InvalidArgument("Attribute '", max_length, "' is zero");
|
||||
return;
|
||||
}
|
||||
const auto& s = attr->s();
|
||||
|
@ -250,7 +250,7 @@ class NotPredicate : public Predicate {
|
||||
class AndRecurrencePredicate : public Predicate {
|
||||
public:
|
||||
explicit AndRecurrencePredicate(int64 id, Predicate* start, Predicate* step,
|
||||
std::vector<string> &frame)
|
||||
std::vector<string> frame)
|
||||
: Predicate(id), operands_({start, step}), frame_(std::move(frame)) {}
|
||||
|
||||
Predicate* start() const { return operands_[0]; }
|
||||
|
Loading…
Reference in New Issue
Block a user