BigFile/Sasquatch #1
@@ -100,7 +100,7 @@ struct string_view: quill::Codec<std::string_view>
|
||||
Base::encode(p_buffer, p_cache, p_cacheIndex, std::string_view {p_arg.data(), p_arg.size()});
|
||||
}
|
||||
};
|
||||
}
|
||||
} // namespace Bigfoot::Codec
|
||||
|
||||
template<>
|
||||
struct quill::Codec<eastl::string>: Bigfoot::Codec::string_view<eastl::string>
|
||||
|
||||
@@ -161,6 +161,7 @@ TEST_F(FileFixture, Write_ShouldRoundTripArbitraryData)
|
||||
|
||||
bool operator==(const Payload&) const = default;
|
||||
};
|
||||
|
||||
static_assert(std::is_trivially_copyable_v<Payload>);
|
||||
|
||||
constexpr Payload payload {.m_intValue = 42, .m_doubleValue = 3.14, .m_tag = {'B', 'I', 'G', 'F'}};
|
||||
|
||||
Reference in New Issue
Block a user