aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--libcpp/include/line-map.h4
1 files changed, 2 insertions, 2 deletions
diff --git a/libcpp/include/line-map.h b/libcpp/include/line-map.h
index c6379ce..c434a24 100644
--- a/libcpp/include/line-map.h
+++ b/libcpp/include/line-map.h
@@ -1873,13 +1873,13 @@ public:
longer-lived owner. */
static label_text borrow (const char *buffer)
{
- return std::move (label_text (const_cast <char *> (buffer), false));
+ return label_text (const_cast <char *> (buffer), false);
}
/* Create a label_text instance that takes ownership of BUFFER. */
static label_text take (char *buffer)
{
- return std::move (label_text (buffer, true));
+ return label_text (buffer, true);
}
/* Take ownership of the buffer, copying if necessary. */