diff options
Diffstat (limited to 'src/FbTk/MemFun.hh')
-rw-r--r-- | src/FbTk/MemFun.hh | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/FbTk/MemFun.hh b/src/FbTk/MemFun.hh index 73134d2..bb13d3f 100644 --- a/src/FbTk/MemFun.hh +++ b/src/FbTk/MemFun.hh | |||
@@ -56,7 +56,7 @@ MemFun( Object& obj, ReturnType (Object:: *action)() ) { | |||
56 | 56 | ||
57 | /// One argument functor | 57 | /// One argument functor |
58 | template <typename ReturnType, typename Object, typename Arg1> | 58 | template <typename ReturnType, typename Object, typename Arg1> |
59 | class MemFun1: public std::unary_function<Arg1, ReturnType> { | 59 | class MemFun1 { |
60 | public: | 60 | public: |
61 | typedef ReturnType (Object:: *Action)(Arg1); | 61 | typedef ReturnType (Object:: *Action)(Arg1); |
62 | 62 | ||
@@ -83,7 +83,7 @@ MemFun( Object& obj, ReturnType (Object:: *action)(Arg1) ) { | |||
83 | 83 | ||
84 | /// Two argument functor | 84 | /// Two argument functor |
85 | template <typename ReturnType, typename Object, typename Arg1, typename Arg2> | 85 | template <typename ReturnType, typename Object, typename Arg1, typename Arg2> |
86 | class MemFun2: public std::binary_function<Arg1, Arg2, ReturnType> { | 86 | class MemFun2 { |
87 | public: | 87 | public: |
88 | typedef ReturnType (Object:: *Action)(Arg1,Arg2); | 88 | typedef ReturnType (Object:: *Action)(Arg1,Arg2); |
89 | 89 | ||