mirror of
https://github.com/mapnik/mapnik.git
synced 2025-12-08 20:13:09 +00:00
fixed is_datasource_plugin predicate
This commit is contained in:
parent
76572994b5
commit
beebee468b
@ -40,7 +40,7 @@ namespace mapnik
|
||||
|
||||
bool is_input_plugin (std::string const& filename)
|
||||
{
|
||||
return boost::algorithm::ends_with(filename,".input");
|
||||
return boost::algorithm::ends_with(filename,std::string(".input"));
|
||||
}
|
||||
|
||||
|
||||
@ -118,7 +118,7 @@ namespace mapnik
|
||||
{
|
||||
for (filesystem::directory_iterator itr(path);itr!=end_itr;++itr )
|
||||
{
|
||||
if (!is_directory( *itr ) && is_input_plugin(itr->leaf()))
|
||||
if (!is_directory( *itr ) && is_input_plugin(itr->leaf()))
|
||||
{
|
||||
try
|
||||
{
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user