Skip to content

Commit

Permalink
[BUILD] Add Interval deduction guide
Browse files Browse the repository at this point in the history
This avoids `ctad-maybe-unsupported` warning.
  • Loading branch information
chsigg committed May 16, 2023
1 parent 3baab48 commit e16eea1
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions include/triton/Analysis/Allocation.h
Original file line number Diff line number Diff line change
Expand Up @@ -50,6 +50,8 @@ template <typename T> class Interval {
T End = std::numeric_limits<T>::max();
};

template <class T> Interval(T, T) -> Interval<T>;

class Allocation {
public:
/// A unique identifier for shared memory buffers
Expand Down

0 comments on commit e16eea1

Please sign in to comment.