Build fix, runtime_crc32c() should be in namespace detail

This commit is contained in:
King_DuckZ 2022-05-24 13:21:56 +02:00
parent 6a47be250f
commit e200288d06

View file

@ -76,6 +76,7 @@ namespace wren {
#endif
} //unnamed namespace
namespace detail {
[[gnu::const]]
std::uint32_t runtime_crc32c (const char* data, std::size_t size, std::uint32_t crc) {
#if defined(WRENPP_WITH_SSE42)
@ -89,4 +90,5 @@ namespace wren {
return detail::crc32<detail::g_castagnoli_polynomial>(data, size, crc);
}
}
} //namespace detail
} //namespace wren