diff options
author | Julian Eisel <julian@blender.org> | 2020-03-12 17:55:48 +0300 |
---|---|---|
committer | Julian Eisel <julian@blender.org> | 2020-03-12 17:55:48 +0300 |
commit | cb6cec904fa14ce0ab10a2a53af5c936d56376cf (patch) | |
tree | 1bdb77ac2f61dc8130136769ac579fad49d2417c /source/blender/makesrna/intern/makesrna.c | |
parent | 066d755e47e4aa5a0c801aeabadfbbc19249e7e6 (diff) | |
parent | 5929dd7129f6e8d41a79a5e01dd8b18f5369d1a8 (diff) |
Merge branch 'master' into temp-openxr-ghostxr
Diffstat (limited to 'source/blender/makesrna/intern/makesrna.c')
-rw-r--r-- | source/blender/makesrna/intern/makesrna.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/source/blender/makesrna/intern/makesrna.c b/source/blender/makesrna/intern/makesrna.c index b1143acfbee..af3069cf95e 100644 --- a/source/blender/makesrna/intern/makesrna.c +++ b/source/blender/makesrna/intern/makesrna.c @@ -4653,8 +4653,8 @@ static const char *cpp_classes = " operator void*() { return ptr.data; }\n" " operator bool() { return ptr.data != NULL; }\n" "\n" - " bool operator==(const Pointer &other) { return ptr.data == other.ptr.data; }\n" - " bool operator!=(const Pointer &other) { return ptr.data != other.ptr.data; }\n" + " bool operator==(const Pointer &other) const { return ptr.data == other.ptr.data; }\n" + " bool operator!=(const Pointer &other) const { return ptr.data != other.ptr.data; }\n" "\n" " PointerRNA ptr;\n" "};\n" |