Movatterモバイル変換


[0]ホーム

URL:


Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up
Appearance settings

Commit73e78e0

Browse files
committed
Fix compile error on VS2019
error C2440: '<function-style-cast>': cannot convert from 'ghc::filesystem::path' to 'std::string'
1 parent917bcc4 commit73e78e0

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

‎include/xtensor-io/xio_disk_handler.hpp‎

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -62,7 +62,7 @@ namespace xt
6262
{
6363
if (!fs::is_directory(directory))
6464
{
65-
XTENSOR_THROW(std::runtime_error,"Path is not a directory:" +std::string(directory));
65+
XTENSOR_THROW(std::runtime_error,"Path is not a directory:" +std::string(directory.string()));
6666
}
6767
}
6868
else

0 commit comments

Comments
 (0)

[8]ページ先頭

©2009-2025 Movatter.jp