__func__ is just the function name, ie "type_id", I need the whole signature to capture U as well
This commit is contained in:
parent
f5fcbd193a
commit
51c69e6343
1 changed files with 1 additions and 1 deletions
|
@ -145,7 +145,7 @@ namespace wren {
|
||||||
template <typename U>
|
template <typename U>
|
||||||
[[gnu::const]]
|
[[gnu::const]]
|
||||||
inline constexpr std::uint32_t type_id() {
|
inline constexpr std::uint32_t type_id() {
|
||||||
return duckcore::StringCRC32(__func__);
|
return duckcore::StringCRC32(__PRETTY_FUNCTION__);
|
||||||
}
|
}
|
||||||
} //namespace detail
|
} //namespace detail
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue