aboutsummaryrefslogtreecommitdiffstats
path: root/news/nget/files/patch-getter.h
blob: d750062ab4870a15cb960163786d356b80ec3ffe (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
https://github.com/Optware/Optware-ng/commit/cf5b5050c989fb4e969167d20e6b135ff2608a87

--- getter.h.orig   2017-10-14 02:48:48 UTC
+++ getter.h
@@ -35,7 +35,7 @@ class MemGetter {
 template <class RetType, class ClassType>
 class MemfuncGetter {
    private:
-       typedef RetType (ClassType::*member_t)(void);
+       typedef RetType (ClassType::*member_t)(void) const;
        member_t member;        
    public:
        typedef RetType T;