summaryrefslogtreecommitdiff
path: root/src/utils
diff options
context:
space:
mode:
authorAndrei Karas <akaras@inbox.ru>2017-06-08 17:54:12 +0300
committerAndrei Karas <akaras@inbox.ru>2017-06-08 23:41:37 +0300
commit763e91044a4e9c8905ee082457cb42da36a38cc0 (patch)
treea73f68e02e083fc9b236ea7a18ef406dd5ea0a46 /src/utils
parentdd3b6609584e59e8c3b67624c9800c5d0e2a2208 (diff)
downloadmanaverse-763e91044a4e9c8905ee082457cb42da36a38cc0.tar.gz
manaverse-763e91044a4e9c8905ee082457cb42da36a38cc0.tar.bz2
manaverse-763e91044a4e9c8905ee082457cb42da36a38cc0.tar.xz
manaverse-763e91044a4e9c8905ee082457cb42da36a38cc0.zip
Add missing function parameters.
Diffstat (limited to 'src/utils')
-rw-r--r--src/utils/copynpaste.cpp2
-rw-r--r--src/utils/dtor.h2
2 files changed, 2 insertions, 2 deletions
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 <std::pair<T1, T2>, void>
};
template<class Cont>
-inline dtor<typename Cont::value_type> make_dtor(Cont const&)
+inline dtor<typename Cont::value_type> make_dtor(Cont const &d)
{
return dtor<typename Cont::value_type>();
}