From 763e91044a4e9c8905ee082457cb42da36a38cc0 Mon Sep 17 00:00:00 2001 From: Andrei Karas Date: Thu, 8 Jun 2017 17:54:12 +0300 Subject: Add missing function parameters. --- src/utils/copynpaste.cpp | 2 +- src/utils/dtor.h | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) (limited to 'src/utils') diff --git a/src/utils/copynpaste.cpp b/src/utils/copynpaste.cpp index 10b43e811..8e3537734 100644 --- a/src/utils/copynpaste.cpp +++ b/src/utils/copynpaste.cpp @@ -499,7 +499,7 @@ bool sendBuffer(const std::string &restrict text) } #else // WIN32 -bool retrieveBuffer(std::string&, size_t&) +bool retrieveBuffer(std::string &text A_UNUSED, size_t &pos A_UNUSED) { return false; } diff --git a/src/utils/dtor.h b/src/utils/dtor.h index 7856fc248..7f32dc2eb 100644 --- a/src/utils/dtor.h +++ b/src/utils/dtor.h @@ -46,7 +46,7 @@ public std::unary_function , void> }; template -inline dtor make_dtor(Cont const&) +inline dtor make_dtor(Cont const &d) { return dtor(); } -- cgit v1.2.3-70-g09d2