Fix strict compiler warning in C++ RNA
Hopefully it is supported by all the compilers.
This commit is contained in:
parent
6c16130356
commit
fb82948043
Notes:
blender-bot
2023-02-14 10:09:24 +01:00
Referenced by issue #51674, Osl works different in MacOs and Windows: attribute quering Referenced by issue #51676, Crash unloading addon defining NodeCustomGroup while rendering
|
@ -3746,7 +3746,7 @@ static const char *cpp_classes = ""
|
|||
"template<typename T, TBeginFunc Tbegin, TNextFunc Tnext, TEndFunc Tend>\n"
|
||||
"class CollectionIterator {\n"
|
||||
"public:\n"
|
||||
" CollectionIterator() : t(iter.ptr), init(false) { iter.valid = false; }\n"
|
||||
" CollectionIterator() : iter(), t(iter.ptr), init(false) { iter.valid = false; }\n"
|
||||
" ~CollectionIterator(void) { if (init) Tend(&iter); };\n"
|
||||
"\n"
|
||||
" operator bool(void)\n"
|
||||
|
|
Loading…
Reference in New Issue