fix boost filesystem2 compile
This commit is contained in:
parent
622ce7e590
commit
27f601d1f0
1 changed files with 1 additions and 1 deletions
|
@ -159,7 +159,7 @@ bool freetype_engine::register_fonts(std::string const& dir, bool recurse)
|
||||||
#if (BOOST_FILESYSTEM_VERSION == 3)
|
#if (BOOST_FILESYSTEM_VERSION == 3)
|
||||||
std::string const& base_name = itr->path().filename().string();
|
std::string const& base_name = itr->path().filename().string();
|
||||||
#else // v2
|
#else // v2
|
||||||
std::string const& base_name = itr->filename().string();
|
std::string const& base_name = itr->filename();
|
||||||
#endif
|
#endif
|
||||||
if (!boost::algorithm::starts_with(base_name,".") &&
|
if (!boost::algorithm::starts_with(base_name,".") &&
|
||||||
boost::filesystem::is_regular_file(file_name) &&
|
boost::filesystem::is_regular_file(file_name) &&
|
||||||
|
|
Loading…
Reference in a new issue