mirror of
https://github.com/KhronosGroup/Vulkan-Hpp.git
synced 2025-09-07 19:06:13 -04:00
CI: Attempt to fix build failure on windows (#2084)
* explicit flush before clangd-format execution * scoped ofs attempt * retrigger ci
This commit is contained in:
parent
8ab6cb5d8b
commit
4c8fe92a96
@ -559,10 +559,11 @@ inline std::string trimStars( std::string const & input )
|
||||
|
||||
void writeToFile( std::string const & str, std::string const & fileName )
|
||||
{
|
||||
std::ofstream ofs( fileName );
|
||||
assert( !ofs.fail() );
|
||||
ofs << str;
|
||||
ofs.close();
|
||||
{
|
||||
std::ofstream ofs( fileName );
|
||||
assert( !ofs.fail() );
|
||||
ofs << str;
|
||||
}
|
||||
|
||||
#if defined( CLANG_FORMAT_EXECUTABLE )
|
||||
messager.message( "VulkanHppGenerator: Formatting " + fileName + " ...\n" );
|
||||
|
Loading…
x
Reference in New Issue
Block a user