]> git.tdb.fi Git - libs/core.git/blobdiff - source/fs/path.cpp
Use default member initializers and constructor delegation
[libs/core.git] / source / fs / path.cpp
index a5a5a10a5532133582172da6abcdf93acdf62ea6..adf376f7a0b0db57341370a7bd07d61b643a7c04 100644 (file)
@@ -21,16 +21,6 @@ Path::Path()
 { }
 
 Path::Path(const string &p)
 { }
 
 Path::Path(const string &p)
-{
-       init(p);
-}
-
-Path::Path(const char *p)
-{
-       init(p);
-}
-
-void Path::init(const string &p)
 {
        if(p.empty())
                return;
 {
        if(p.empty())
                return;