diff options
author | Bernard Normier <bernard@zeroc.com> | 2016-12-14 11:39:42 -0500 |
---|---|---|
committer | Bernard Normier <bernard@zeroc.com> | 2016-12-14 11:39:42 -0500 |
commit | 1df8e3f6bd22b0188fdb348606deaff1f6e9bdda (patch) | |
tree | 66de456ca1452e29dadd6862de704c7a60bb7168 /cpp/include/Ice/MetricsFunctional.h | |
parent | Only use MSI bin with v140 compiler (diff) | |
download | ice-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.h | 4 |
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) |