[FIX]: Window Build Fix

This commit is contained in:
2026-01-26 22:55:39 +05:30
parent fac013d63f
commit 21a474b6f9
75 changed files with 5430 additions and 4643 deletions

View File

@ -20,7 +20,8 @@ using namespace IACore;
IAT_BEGIN_BLOCK(Core, RingBuffer)
auto test_push_pop() -> bool {
auto test_push_pop() -> bool
{
Vec<u8> memory(sizeof(RingBufferView::ControlBlock) + 1024);
@ -33,8 +34,7 @@ auto test_push_pop() -> bool {
auto consumer = std::move(*consumer_res);
String msg = "Hello RingBuffer";
const auto push_res = producer.push(
1, Span<const u8>(reinterpret_cast<const u8 *>(msg.data()), msg.size()));
const auto push_res = producer.push(1, Span<const u8>(reinterpret_cast<const u8 *>(msg.data()), msg.size()));
IAT_CHECK(push_res.has_value());
RingBufferView::PacketHeader header;
@ -57,7 +57,8 @@ auto test_push_pop() -> bool {
return true;
}
auto test_wrap_around() -> bool {
auto test_wrap_around() -> bool
{
Vec<u8> memory(sizeof(RingBufferView::ControlBlock) + 100);
@ -87,8 +88,10 @@ auto test_wrap_around() -> bool {
IAT_CHECK_EQ(pop_size, static_cast<usize>(40));
bool match = true;
for (usize i = 0; i < 40; i++) {
if (out_buf[i] != 0xAA) {
for (usize i = 0; i < 40; i++)
{
if (out_buf[i] != 0xAA)
{
match = false;
}
}