diff --git a/lib/System/Unix/Path.inc b/lib/System/Unix/Path.inc index 5b91b038d43..20d09c0f7ff 100644 --- a/lib/System/Unix/Path.inc +++ b/lib/System/Unix/Path.inc @@ -314,7 +314,7 @@ Path::getSuffix() const { std::string::size_type dot = path.rfind('.'); if (dot == std::string::npos || dot < slash) - return std::string() + return std::string(); else return path.substr(dot + 1); }