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();
|
return m_path->empty();
|
||||||
}
|
}
|
||||||
|
|
||||||
bool FilePath::exists() const
|
bool FilePath::exists() const noexcept
|
||||||
{
|
{
|
||||||
if (!m_checkedExists)
|
if (!m_checkedExists)
|
||||||
{
|
{
|
||||||
|
|||||||
@@ -27,7 +27,7 @@ public:
|
|||||||
boost::filesystem::path getPath() const;
|
boost::filesystem::path getPath() const;
|
||||||
|
|
||||||
bool empty() const;
|
bool empty() const;
|
||||||
bool exists() const;
|
bool exists() const noexcept;
|
||||||
bool recheckExists() const;
|
bool recheckExists() const;
|
||||||
bool isDirectory() const;
|
bool isDirectory() const;
|
||||||
bool isAbsolute() const;
|
bool isAbsolute() const;
|
||||||
|
|||||||
Reference in New Issue
Block a user