Commit 3331b674 authored by gsamain's avatar gsamain Committed by Xavier Thompson

Make activated class follow base class lock mode

parent 6f928dd1
...@@ -740,7 +740,7 @@ class Scope(object): ...@@ -740,7 +740,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