X-Git-Url: http://git.tdb.fi/?p=libs%2Fcore.git;a=blobdiff_plain;f=source%2Ffs%2Fpath.h;h=30fe683eabafff9f64b8841f8706ea4cde8be341;hp=9cc0dc243e32900bf869dc92df85a1ddea268251;hb=HEAD;hpb=122846f0881673770d88eff7d925ecf25c01b62e diff --git a/source/fs/path.h b/source/fs/path.h index 9cc0dc2..1b15047 100644 --- a/source/fs/path.h +++ b/source/fs/path.h @@ -4,6 +4,7 @@ #include #include #include +#include namespace Msp { namespace FS { @@ -28,13 +29,13 @@ A path can also be treated as an array of components, supporting indexing, iteration and slicing. In this context the root directory is treated as a component of its own. */ -class Path +class MSPCORE_API Path { private: typedef std::vector PositionArray; public: - class Iterator + class MSPCORE_API Iterator { public: typedef PositionArray::difference_type difference_type; @@ -70,7 +71,7 @@ private: PositionArray separators; public: - Path(); + Path() = default; Path(const std::string &); Path(const char *p): Path(std::string(p)) { }