summaryrefslogtreecommitdiff
path: root/src/utils/copynpaste.h
diff options
context:
space:
mode:
authorAndrei Karas <akaras@inbox.ru>2016-02-08 22:44:39 +0300
committerAndrei Karas <akaras@inbox.ru>2016-02-08 22:44:39 +0300
commita61ac4664d55cddb18d2d861e76629bd07676129 (patch)
tree59f5ba3ff7e65bbe94651db9ad2cf68b847d8f96 /src/utils/copynpaste.h
parentbb3a85b045a6135f7228023a7ba55fb1c9e6bd90 (diff)
downloadplus-a61ac4664d55cddb18d2d861e76629bd07676129.tar.gz
plus-a61ac4664d55cddb18d2d861e76629bd07676129.tar.bz2
plus-a61ac4664d55cddb18d2d861e76629bd07676129.tar.xz
plus-a61ac4664d55cddb18d2d861e76629bd07676129.zip
Add some missing const.
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