util: Making FilePath::exists noexcept so the noexcept version of boost::filesystem::exists is used (#919)
This commit is contained in:
@@ -80,7 +80,7 @@ bool FilePath::empty() const
|
||||
return m_path->empty();
|
||||
}
|
||||
|
||||
bool FilePath::exists() const
|
||||
bool FilePath::exists() const noexcept
|
||||
{
|
||||
if (!m_checkedExists)
|
||||
{
|
||||
|
||||
@@ -27,7 +27,7 @@ public:
|
||||
boost::filesystem::path getPath() const;
|
||||
|
||||
bool empty() const;
|
||||
bool exists() const;
|
||||
bool exists() const noexcept;
|
||||
bool recheckExists() const;
|
||||
bool isDirectory() const;
|
||||
bool isAbsolute() const;
|
||||
|
||||
Reference in New Issue
Block a user