summaryrefslogtreecommitdiff
path: root/cpp/include/Ice/MetricsFunctional.h
diff options
context:
space:
mode:
authorBernard Normier <bernard@zeroc.com>2016-12-14 11:39:42 -0500
committerBernard Normier <bernard@zeroc.com>2016-12-14 11:39:42 -0500
commit1df8e3f6bd22b0188fdb348606deaff1f6e9bdda (patch)
tree66de456ca1452e29dadd6862de704c7a60bb7168 /cpp/include/Ice/MetricsFunctional.h
parentOnly use MSI bin with v140 compiler (diff)
downloadice-1df8e3f6bd22b0188fdb348606deaff1f6e9bdda.tar.bz2
ice-1df8e3f6bd22b0188fdb348606deaff1f6e9bdda.tar.xz
ice-1df8e3f6bd22b0188fdb348606deaff1f6e9bdda.zip
Fixed a few warnings
Diffstat (limited to 'cpp/include/Ice/MetricsFunctional.h')
-rw-r--r--cpp/include/Ice/MetricsFunctional.h4
1 files changed, 2 insertions, 2 deletions
diff --git a/cpp/include/Ice/MetricsFunctional.h b/cpp/include/Ice/MetricsFunctional.h
index 08a332798f4..7bb9e1303e5 100644
--- a/cpp/include/Ice/MetricsFunctional.h
+++ b/cpp/include/Ice/MetricsFunctional.h
@@ -94,7 +94,7 @@ namespace IceMX
template<class T, typename Y, typename Func> struct ApplyOnMember
{
- ApplyOnMember(Y T::*member, Func func) : func(func), member(member)
+ ApplyOnMember(Y T::*m, Func f) : func(f), member(m)
{
}
@@ -126,7 +126,7 @@ template<typename T> struct Increment
template<typename T> struct Add
{
- Add(T value) : value(value) { }
+ Add(T v) : value(v) { }
template<typename Y>
void operator()(Y& v)