Skip to content

Commit 6286305

Browse files
committed
fix crash for VTR_LOG_WARN on attempt loading xml file without extension
1 parent 3f55f4b commit 6286305

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

libs/libarchfpga/src/read_xml_arch_file.cpp

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -404,7 +404,7 @@ void xml_read_arch(std::string_view arch_file,
404404
VTR_LOG_WARN(
405405
"Architecture file '%s' may be in incorrect format. "
406406
"Expecting .xml format for architecture files.\n",
407-
arch_file);
407+
arch_file.data());
408408
}
409409

410410
// Create a unique identifier for this architecture file based on it's contents

0 commit comments

Comments
 (0)