Skip to content

Commit

Permalink
review comment: drop commented out code not working on travis
Browse files Browse the repository at this point in the history
  • Loading branch information
pauldreik committed Jun 17, 2019
1 parent 0134298 commit be0bdae
Showing 1 changed file with 0 additions and 5 deletions.
5 changes: 0 additions & 5 deletions test/fuzzing/fuzzer_common.h
Original file line number Diff line number Diff line change
Expand Up @@ -54,11 +54,6 @@ inline const std::uint8_t* as_bytes(const T* data) {

template <class Item>
inline Item assignFromBuf(const uint8_t* Data) {
// wont work in travis, disable
//#if __cplusplus >= 201402L
// static_assert(std::is_trivially_copyable<Item>::value,
// "Item must be blittable");
//#endif
Item item{};
std::memcpy(&item, Data, sizeof(Item));
return item;
Expand Down

0 comments on commit be0bdae

Please sign in to comment.