Skip to content

Commit

Permalink
iox-#2066 Fix Windows build
Browse files Browse the repository at this point in the history
  • Loading branch information
elBoberido committed Nov 16, 2023
1 parent 622f9b5 commit e900856
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -64,7 +64,7 @@ TEST_F(TomlGatewayConfigParserTest, ParsingFileIsSuccessful)
)";
tempFile.close();

iox::roudi::ConfigFilePathString_t configFilePath{iox::TruncateToCapacity, tempFilePath.c_str()};
iox::roudi::ConfigFilePathString_t configFilePath{iox::TruncateToCapacity, tempFilePath.u8string().c_str()};

TomlGatewayConfigParser::parse(configFilePath)
.and_then([](const auto&) { GTEST_SUCCEED() << "We got a config!"; })
Expand Down

0 comments on commit e900856

Please sign in to comment.