diff options
Diffstat (limited to 'cutl/fs')
-rw-r--r-- | cutl/fs/auto-remove.hxx | 6 | ||||
-rw-r--r-- | cutl/fs/exception.hxx | 2 | ||||
-rw-r--r-- | cutl/fs/path.hxx | 4 |
3 files changed, 8 insertions, 4 deletions
diff --git a/cutl/fs/auto-remove.hxx b/cutl/fs/auto-remove.hxx index bf2b701..c30a630 100644 --- a/cutl/fs/auto-remove.hxx +++ b/cutl/fs/auto-remove.hxx @@ -11,13 +11,15 @@ #include <cutl/fs/path.hxx> #include <cutl/fs/exception.hxx> +#include <cutl/details/export.hxx> + namespace cutl { namespace fs { // Remove a file or an empty directory on destruction unless canceled. // - struct auto_remove + struct LIBCUTL_EXPORT auto_remove { explicit auto_remove (path const& p) @@ -47,7 +49,7 @@ namespace cutl // Remove a list of file or aempty directories on destruction unless // canceled. // - struct auto_removes + struct LIBCUTL_EXPORT auto_removes { auto_removes () {} ~auto_removes (); diff --git a/cutl/fs/exception.hxx b/cutl/fs/exception.hxx index f00dadb..d238a73 100644 --- a/cutl/fs/exception.hxx +++ b/cutl/fs/exception.hxx @@ -12,7 +12,7 @@ namespace cutl { namespace fs { - struct error: exception + struct LIBCUTL_EXPORT error: exception { error (int code): code_ (code) {} diff --git a/cutl/fs/path.hxx b/cutl/fs/path.hxx index fbf179e..9fed07a 100644 --- a/cutl/fs/path.hxx +++ b/cutl/fs/path.hxx @@ -11,6 +11,8 @@ #include <cutl/exception.hxx> +#include <cutl/details/export.hxx> + namespace cutl { namespace fs @@ -86,7 +88,7 @@ namespace cutl // // - class invalid_path_base: exception + class LIBCUTL_EXPORT invalid_path_base: exception { public: virtual char const* |