Commit 6b47599c authored by gsamain's avatar gsamain

Make activated class follow base class lock mode

parent 24ba8115
...@@ -712,7 +712,7 @@ class Scope(object): ...@@ -712,7 +712,7 @@ class Scope(object):
# Declare activated class # Declare activated class
act_scope = CppClassScope("Activated", scope) act_scope = CppClassScope("Activated", scope)
act_type = PyrexTypes.CypClassType( act_type = PyrexTypes.CypClassType(
"Activated", act_scope, "Activated", None, templates = templates, lock_mode="nolock") "Activated", act_scope, "Activated", None, templates = templates, lock_mode=entry.type.lock_mode)
act_type.set_scope(act_scope) act_type.set_scope(act_scope)
act_type.namespace = entry.type act_type.namespace = entry.type
#scope.declare_cpp_class("Activated", act_scope, pos) #scope.declare_cpp_class("Activated", act_scope, pos)
......
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