Welcome to mirror list, hosted at ThFree Co, Russian Federation.

git.blender.org/blender.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJulian Eisel <julian@blender.org>2020-03-12 17:55:48 +0300
committerJulian Eisel <julian@blender.org>2020-03-12 17:55:48 +0300
commitcb6cec904fa14ce0ab10a2a53af5c936d56376cf (patch)
tree1bdb77ac2f61dc8130136769ac579fad49d2417c /source/blender/makesrna/intern/makesrna.c
parent066d755e47e4aa5a0c801aeabadfbbc19249e7e6 (diff)
parent5929dd7129f6e8d41a79a5e01dd8b18f5369d1a8 (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.c4
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"