Go to:
Gentoo Home
Documentation
Forums
Lists
Bugs
Planet
Store
Wiki
Get Gentoo!
Gentoo's Bugzilla – Attachment 893466 Details for
Bug 932254
games-strategy/0ad-0.0.26_alpha-r1: TextureManager.cpp:788:87: error: ‘boost::filesystem::wpath’ {aka ‘class boost::filesystem::path’} has no member named ‘leaf’
Home
|
New
–
[Ex]
|
Browse
|
Search
|
Privacy Policy
|
[?]
|
Reports
|
Requests
|
Help
|
New Account
|
Log In
[x]
|
Forgot Password
Login:
[x]
[patch]
boost 1.85 patch
D5267.diff (text/plain), 1.07 KB, created by
Marcin Deranek
on 2024-05-20 07:25:01 UTC
(
hide
)
Description:
boost 1.85 patch
Filename:
MIME Type:
Creator:
Marcin Deranek
Created:
2024-05-20 07:25:01 UTC
Size:
1.07 KB
patch
obsolete
>Index: source/graphics/TextureManager.cpp >=================================================================== >--- a/source/graphics/TextureManager.cpp >+++ b/source/graphics/TextureManager.cpp >@@ -806,7 +806,7 @@ > files.push_back(f); > p = p / GetWstringFromWpath(*it); > } >- return m_TextureConverter.ComputeSettings(GetWstringFromWpath(srcPath.leaf()), files); >+ return m_TextureConverter.ComputeSettings(GetWstringFromWpath(srcPath.filename()), files); > } > > /** >Index: source/lib/file/file_system.cpp >=================================================================== >--- a/source/lib/file/file_system.cpp >+++ b/source/lib/file/file_system.cpp >@@ -229,7 +229,11 @@ > try > { > if(override_if_exists) >+#if BOOST_VERSION >=107400 >+ fs::copy_file(fs::path(path.string()), fs::path(newPath.string()), boost::filesystem::copy_options::overwrite_existing); >+#else > fs::copy_file(fs::path(path.string()), fs::path(newPath.string()), boost::filesystem::copy_option::overwrite_if_exists); >+#endif > else > fs::copy_file(fs::path(path.string()), fs::path(newPath.string())); > }
You cannot view the attachment while viewing its details because your browser does not support IFRAMEs.
View the attachment on a separate page
.
View Attachment As Diff
View Attachment As Raw
Actions:
View
|
Diff
Attachments on
bug 932254
: 893466