]> git.tdb.fi Git - libs/core.git/blobdiff - source/path.cpp
Move is_windows_drive into utils.h
[libs/core.git] / source / path.cpp
index ff6713f1f5c7625e66104c812eb4bc999c1e66bb..93a0a84630e29aeab758dd547931885f0d999b89 100644 (file)
@@ -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.
 */