We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 46d8f5f commit b6ce289Copy full SHA for b6ce289
src/common/tests/StringTest.cpp
@@ -479,9 +479,9 @@ BOOST_AUTO_TEST_CASE(SubstrTest)
479
BOOST_AUTO_TEST_CASE(LoadFromFileTest)
480
{
481
namespace fs = std::filesystem;
482
- auto tempFilePath = fs::temp_directory_path() / "test.txt";
483
- const char* filename = tempFilePath.string().data();
484
- FILE *x = fopen(tempFilePath.string().data(), "w+");
+ auto tempFilePath = (fs::temp_directory_path() / "test.txt").string();
+ const char* filename = tempFilePath.data();
+ FILE *x = fopen(tempFilePath.data(), "w+");
485
486
std::string_view line1 = "char lbl[] = \"0123456789\";";
487
std::string_view line2 = ""; // LoadFormFile read from '\n'
0 commit comments