Skip to content

Commit 22fbf9d

Browse files
committed
Add missing typename keywords
1 parent 17ed3b3 commit 22fbf9d

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

include/whirlwind/container/heap.hpp

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -36,7 +36,7 @@ struct BinaryHeapTraits {
3636
template<class T, class Key, template<class> class Container = Vector>
3737
class BinaryHeap : public detail::BinaryHeapTraits<T, Key, Container>::queue_type {
3838
private:
39-
using super_type = detail::BinaryHeapTraits<T, Key, Container>::queue_type;
39+
using super_type = typename detail::BinaryHeapTraits<T, Key, Container>::queue_type;
4040

4141
protected:
4242
using super_type::c;

include/whirlwind/graph/csr_graph.hpp

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -27,7 +27,7 @@ subspan_of(ContiguousRange&& r, // NOLINT(cppcoreguidelines-missing-std-forward)
2727
Size stop)
2828
{
2929
const auto begin = std::begin(r);
30-
using Difference = std::iterator_traits<decltype(begin)>::difference_type;
30+
using Difference = typename std::iterator_traits<decltype(begin)>::difference_type;
3131
const auto first = begin + static_cast<Difference>(start);
3232
const auto last = begin + static_cast<Difference>(stop);
3333
WHIRLWIND_ASSERT(first < std::end(r));

0 commit comments

Comments
 (0)