X-Git-Url: http://git.tdb.fi/?p=libs%2Fcore.git;a=blobdiff_plain;f=source%2Fpath.cpp;h=93a0a84630e29aeab758dd547931885f0d999b89;hp=ff6713f1f5c7625e66104c812eb4bc999c1e66bb;hb=058953b54ba1a3fbf95db92a0e60e6c9581bfb6b;hpb=f2afab73c3350c54c8b5a985d2b055563c6a6e9f diff --git a/source/path.cpp b/source/path.cpp index ff6713f..93a0a84 100644 --- a/source/path.cpp +++ b/source/path.cpp @@ -12,11 +12,6 @@ using namespace std; namespace Msp { namespace Path { -bool is_windows_drive(const std::string &p) -{ - return (p.size()==2 && ((p[0]>='A' && p[0]<='Z') || (p[0]>='a' && p[0]<='z')) && p[1]==':'); -} - /** Returns the number of components in the path. */