Fix directory opening on Linux systems

This commit is contained in:
Raul Tambre 2016-02-26 16:22:57 +02:00
parent bcf4a6209e
commit a6a4081894

View File

@ -856,7 +856,7 @@ bool fs::dir::open(const std::string& dirname)
m_dd = -1;
#else
const auto ptr = ::opendir(m_path.get());
const auto ptr = ::opendir(dirname.c_str());
if (!ptr)
{
return false;