mirror of
https://github.com/boostorg/filesystem.git
synced 2026-02-27 17:02:19 +00:00
remove unreachable return (Peter Dimov)
[SVN r16639]
This commit is contained in:
@@ -475,16 +475,6 @@ namespace boost
|
||||
# else
|
||||
return m_path.size() && m_path[0] == '/';
|
||||
# endif
|
||||
|
||||
|
||||
return ( m_path.size()
|
||||
&& m_path[0] == '/' ) // covers both "/" and "//share"
|
||||
# ifdef BOOST_WINDOWS
|
||||
|| ( m_path.size() > 1 && m_path[1] == ':' ) // "c:" and "c:/"
|
||||
|| ( m_path.size() > 3
|
||||
&& m_path[m_path.size()-1] == ':' ) // "device:"
|
||||
# endif
|
||||
;
|
||||
}
|
||||
|
||||
bool path::has_root_path() const
|
||||
|
||||
Reference in New Issue
Block a user