Skip to content

Commit ddb86a3

Browse files
authored
[mlir][sparse] removed unused using clauses in support lib (llvm#68148)
1 parent 3674a06 commit ddb86a3

File tree

1 file changed

+1
-8
lines changed
  • mlir/include/mlir/ExecutionEngine/SparseTensor

1 file changed

+1
-8
lines changed

mlir/include/mlir/ExecutionEngine/SparseTensor/COO.h

Lines changed: 1 addition & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -71,14 +71,7 @@ using ElementConsumer =
7171
template <typename V>
7272
class SparseTensorCOO final {
7373
public:
74-
using value_type = const Element<V>;
75-
using reference = value_type &;
76-
using const_reference = reference;
77-
using vector_type = std::vector<Element<V>>;
78-
using iterator = typename vector_type::const_iterator;
79-
using const_iterator = iterator;
80-
using difference_type = typename vector_type::difference_type;
81-
using size_type = typename vector_type::size_type;
74+
using const_iterator = typename std::vector<Element<V>>::const_iterator;
8275

8376
/// Constructs a new coordinate-scheme sparse tensor with the given
8477
/// sizes and an optional initial storage capacity.

0 commit comments

Comments
 (0)