Skip to content

Commit

Permalink
Remove unused using decl (#7730)
Browse files Browse the repository at this point in the history
Also convert a std::vector to a vector in a file that has using
std::vector
  • Loading branch information
abadams authored Aug 1, 2023
1 parent 9f43580 commit ef51a23
Showing 1 changed file with 1 addition and 2 deletions.
3 changes: 1 addition & 2 deletions src/DebugToFile.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,6 @@ namespace Halide {
namespace Internal {

using std::map;
using std::ostringstream;
using std::string;
using std::vector;

Expand Down Expand Up @@ -124,7 +123,7 @@ class AddDummyRealizations : public IRMutator {
Stmt s = IRMutator::visit(op);
for (const Function &out : outputs) {
if (op->name == out.name()) {
std::vector<Range> output_bounds;
vector<Range> output_bounds;
for (int i = 0; i < out.dimensions(); i++) {
string dim = std::to_string(i);
Expr min = Variable::make(Int(32), out.name() + ".min." + dim);
Expand Down

0 comments on commit ef51a23

Please sign in to comment.