summaryrefslogtreecommitdiff
path: root/src/utils/copynpaste.h
diff options
context:
space:
mode:
Diffstat (limited to 'src/utils/copynpaste.h')
-rw-r--r--src/utils/copynpaste.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/utils/copynpaste.h b/src/utils/copynpaste.h
index 4d30f61d0..f536eca1c 100644
--- a/src/utils/copynpaste.h
+++ b/src/utils/copynpaste.h
@@ -37,6 +37,6 @@
*/
bool retrieveBuffer(std::string& text, size_t& pos) A_WARN_UNUSED;
-bool sendBuffer(std::string& text);
+bool sendBuffer(const std::string &restrict text);
#endif // UTILS_COPYNPASTE_H