Skip to content

Commit

Permalink
remove const of PrintType
Browse files Browse the repository at this point in the history
  • Loading branch information
phisiart committed Dec 15, 2017
1 parent 26bba41 commit 107bdbd
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion src/codegen/codegen_opengl.cc
Original file line number Diff line number Diff line change
Expand Up @@ -112,7 +112,7 @@ std::string CodeGenOpenGL::GetBufferRef(
return os.str();
}

void CodeGenOpenGL::PrintType(Type t, std::ostream& os) const {
void CodeGenOpenGL::PrintType(Type t, std::ostream& os) {
CHECK(false) << "Not implemented";
}

Expand Down
2 changes: 1 addition & 1 deletion src/codegen/codegen_opengl.h
Original file line number Diff line number Diff line change
Expand Up @@ -26,7 +26,7 @@ class CodeGenOpenGL final : public CodeGenC {

std::string GetBufferRef(Type t, const Variable *buffer, Expr index) final;

void PrintType(Type t, std::ostream& os) const final; // NOLINT(*)
void PrintType(Type t, std::ostream& os) final; // NOLINT(*)

// Codegen for immediate values
void VisitExpr_(const IntImm *op, std::ostream &os) final; // NOLINT(*)
Expand Down

0 comments on commit 107bdbd

Please sign in to comment.