aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--libbutl/utility.mxx6
1 files changed, 6 insertions, 0 deletions
diff --git a/libbutl/utility.mxx b/libbutl/utility.mxx
index ee2aed7..1c457f5 100644
--- a/libbutl/utility.mxx
+++ b/libbutl/utility.mxx
@@ -145,6 +145,12 @@ LIBBUTL_MODEXPORT namespace butl
LIBBUTL_SYMEXPORT std::string&
trim (std::string&);
+ inline std::string
+ trim (std::string&& s)
+ {
+ return move (trim (s));
+ }
+
// Find the beginning and end poistions of the next word. Return the size
// of the word or 0 and set b = e = n if there are no more words. For
// example: