Skip to content

Commit

Permalink
Replace DCHECK_NOTNULL with DCHECK in TraverseExecutor. (vesoft-inc#758)
Browse files Browse the repository at this point in the history
  • Loading branch information
CPWstatic authored and dutor committed Aug 13, 2019
1 parent 3f4e42c commit d0fb894
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/graph/TraverseExecutor.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -79,8 +79,8 @@ void Collector::collect(VariantType &var, RowWriter *writer) const {

VariantType Collector::getProp(const std::string &prop,
const RowReader *reader) const {
DCHECK_NOTNULL(reader);
DCHECK_NOTNULL(schema_);
DCHECK(reader != nullptr);
DCHECK(schema_ != nullptr);
using nebula::cpp2::SupportedType;
auto type = schema_->getFieldType(prop).type;
switch (type) {
Expand Down

0 comments on commit d0fb894

Please sign in to comment.