Skip to content

Commit

Permalink
common: remove irrelevant comment
Browse files Browse the repository at this point in the history
  • Loading branch information
densamoilov committed Jan 28, 2022
1 parent f3273a4 commit e519995
Showing 1 changed file with 0 additions and 2 deletions.
2 changes: 0 additions & 2 deletions src/common/bit_cast.hpp
Original file line number Diff line number Diff line change
Expand Up @@ -35,8 +35,6 @@ namespace utils {
template <typename T, typename U>
inline T bit_cast(const U &u) {
static_assert(sizeof(T) == sizeof(U), "Bit-casting must preserve size.");
// Use std::is_pod as older GNU versions do not support
// std::is_trivially_copyable.
static_assert(std::is_trivial<T>::value, "T must be trivially copyable.");
static_assert(std::is_trivial<U>::value, "U must be trivially copyable.");

Expand Down

0 comments on commit e519995

Please sign in to comment.