From a61ac4664d55cddb18d2d861e76629bd07676129 Mon Sep 17 00:00:00 2001 From: Andrei Karas Date: Mon, 8 Feb 2016 22:44:39 +0300 Subject: Add some missing const. --- src/utils/copynpaste.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'src/utils/copynpaste.h') 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 -- cgit v1.2.3-60-g2f50