From 3036de89d325d85fdc1bac7e86f2937b464f4e26 Mon Sep 17 00:00:00 2001 From: Kim Kulling Date: Tue, 10 Sep 2024 20:59:51 +0200 Subject: [PATCH] Update utIOStreamBuffer.cpp --- test/unit/utIOStreamBuffer.cpp | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-) diff --git a/test/unit/utIOStreamBuffer.cpp b/test/unit/utIOStreamBuffer.cpp index 381716040..4d98c7d20 100644 --- a/test/unit/utIOStreamBuffer.cpp +++ b/test/unit/utIOStreamBuffer.cpp @@ -5,8 +5,6 @@ Open Asset Import Library (assimp) Copyright (c) 2006-2024, assimp team - - All rights reserved. Redistribution and use of this software in source and binary forms, @@ -86,7 +84,7 @@ TEST_F( IOStreamBufferTest, open_close_Test ) { const auto dataCount = dataSize / sizeof(*data); char fname[]={ "octest.XXXXXX" }; - auto* fs = MakeTmpFile(fname); + FILE *fsm = fopen(fname, "w+"); ASSERT_NE(nullptr, fs); auto written = std::fwrite( data, sizeof(*data), dataCount, fs );