diff --git a/include/wrenpp/vm.hpp b/include/wrenpp/vm.hpp index d649aa8..c22e8e4 100644 --- a/include/wrenpp/vm.hpp +++ b/include/wrenpp/vm.hpp @@ -145,7 +145,7 @@ namespace wren { template [[gnu::const]] inline constexpr std::uint32_t type_id() { - return duckcore::StringCRC32(__func__); + return duckcore::StringCRC32(__PRETTY_FUNCTION__); } } //namespace detail