Skip to content

Commit 425fa62

Browse files
authored
remove const from type index ptr (#8)
1 parent cd35c8b commit 425fa62

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

include/static_type_info/type_index.h

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -15,8 +15,8 @@
1515
namespace static_type_info {
1616

1717
namespace detail {
18-
template <typename T> struct IDGenerator { static const void* const id; };
19-
template <typename T> const void* const IDGenerator<T>::id = nullptr;
18+
template <typename T> struct IDGenerator { static const void* id; };
19+
template <typename T> const void* IDGenerator<T>::id = nullptr;
2020
} // namespace detail
2121

2222
using TypeIndex = decltype(&detail::IDGenerator<void>::id);

0 commit comments

Comments
 (0)