Commit 50e91927 authored by gsamain's avatar gsamain

Make cypclass as autolock by default

parent ee3d1ccb
......@@ -3902,7 +3902,7 @@ class CypClassType(CppClassType):
def __init__(self, name, scope, cname, base_classes, templates=None, template_type=None, nogil=0, lock_mode=None):
CppClassType.__init__(self, name, scope, cname, base_classes, templates, template_type, nogil)
self.lock_mode = lock_mode if lock_mode else "checklock"
self.lock_mode = lock_mode if lock_mode else "autolock"
def empty_declaration_code(self):
if self._empty_declaration is None:
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment