remove tabs
This commit is contained in:
parent
8478fdc217
commit
337410fc98
2 changed files with 4 additions and 4 deletions
|
@ -458,9 +458,9 @@ void sqlite_datasource::parse_attachdb(std::string const& attachdb) const
|
||||||
if (! child_path.has_root_directory() && ! child_path.has_root_name())
|
if (! child_path.has_root_directory() && ! child_path.has_root_name())
|
||||||
{
|
{
|
||||||
#ifdef _WINDOWS
|
#ifdef _WINDOWS
|
||||||
boost::filesystem::path absolute_path(mapnik::utf8_to_utf16(dataset_name_));
|
boost::filesystem::path absolute_path(mapnik::utf8_to_utf16(dataset_name_));
|
||||||
#else
|
#else
|
||||||
boost::filesystem::path absolute_path(dataset_name_);
|
boost::filesystem::path absolute_path(dataset_name_);
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
// support symlinks
|
// support symlinks
|
||||||
|
|
|
@ -338,7 +338,7 @@ public:
|
||||||
#else
|
#else
|
||||||
boost::filesystem::remove(index_db);
|
boost::filesystem::remove(index_db);
|
||||||
#endif
|
#endif
|
||||||
}
|
}
|
||||||
catch (...) {};
|
catch (...) {};
|
||||||
}
|
}
|
||||||
throw mapnik::datasource_exception(ex.what());
|
throw mapnik::datasource_exception(ex.what());
|
||||||
|
@ -427,7 +427,7 @@ public:
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
#ifdef _WINDOWS
|
#ifdef _WINDOWS
|
||||||
bool existed = boost::filesystem::exists(mapnik::utf8_to_utf16(index_db));
|
bool existed = boost::filesystem::exists(mapnik::utf8_to_utf16(index_db));
|
||||||
#else
|
#else
|
||||||
bool existed = boost::filesystem::exists(index_db);;
|
bool existed = boost::filesystem::exists(index_db);;
|
||||||
#endif
|
#endif
|
||||||
|
|
Loading…
Add table
Reference in a new issue