Skip to content

Commit 714b9ee

Browse files
DennisOSRMmattwigway
authored andcommitted
Fix typo
1 parent a475ad2 commit 714b9ee

File tree

1 file changed

+2
-4
lines changed

1 file changed

+2
-4
lines changed

include/util/static_assert.hpp

Lines changed: 2 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -10,15 +10,13 @@ namespace util
1010

1111
template <typename It, typename Value> inline void static_assert_iter_value()
1212
{
13-
using IterValueType = typename std::iterator_traits;
14-
<It>::value_type;
13+
using IterValueType = typename std::iterator_traits<It>::value_type;
1514
static_assert(std::is_same<IterValueType, Value>::value, "");
1615
}
1716

1817
template <typename It, typename Category> inline void static_assert_iter_category()
1918
{
20-
using IterCategoryType = typename std::iterator_traits;
21-
<It>::iterator_category;
19+
using IterCategoryType = typename std::iterator_traits<It>::iterator_category;
2220
static_assert(std::is_base_of<Category, IterCategoryType>::value, "");
2321
}
2422

0 commit comments

Comments
 (0)