aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--libbutl/filesystem.cxx2
-rw-r--r--libbutl/utility.mxx2
2 files changed, 2 insertions, 2 deletions
diff --git a/libbutl/filesystem.cxx b/libbutl/filesystem.cxx
index 28412d6..bff251a 100644
--- a/libbutl/filesystem.cxx
+++ b/libbutl/filesystem.cxx
@@ -508,7 +508,7 @@ namespace butl
if (!dir)
throw_generic_error (ENOSYS, "file symlinks not supported");
- switch (try_rmdir (path_cast<dir_path> (link, io)))
+ switch (try_rmdir (path_cast<dir_path> (link), io))
{
case rmdir_status::success: return rmfile_status::success;
case rmdir_status::not_exist: return rmfile_status::not_exist;
diff --git a/libbutl/utility.mxx b/libbutl/utility.mxx
index b957282..a431bc4 100644
--- a/libbutl/utility.mxx
+++ b/libbutl/utility.mxx
@@ -139,7 +139,7 @@ LIBBUTL_MODEXPORT namespace butl
// Trim leading/trailing whitespacec, including '\r'.
//
- std::string&
+ LIBBUTL_SYMEXPORT std::string&
trim (std::string&);
// Find the beginning and end poistions of the next word. Return the size