diff --git a/kernel/include/vfs/path.hpp b/kernel/include/vfs/path.hpp index a6c3d4bf..5a74e27f 100644 --- a/kernel/include/vfs/path.hpp +++ b/kernel/include/vfs/path.hpp @@ -15,6 +15,7 @@ * \brief Structure to represent a path on the file system */ struct path { + path(); path(const std::string& path); path(const path& rhs) = default; diff --git a/kernel/src/path.cpp b/kernel/src/path.cpp index 1c68998a..9afcea48 100644 --- a/kernel/src/path.cpp +++ b/kernel/src/path.cpp @@ -7,6 +7,10 @@ #include "vfs/path.hpp" +path::path(){ + //Nothing to init +} + path::path(const std::string& path){ auto parts = std::split(path, '/'); names.reserve(parts.size());