Commit dfce5c7f authored by Robert Bradshaw's avatar Robert Bradshaw

Require c++0x for unique_ptr.

parent d01f6d4a
......@@ -905,7 +905,8 @@ class ModuleNode(Nodes.Node, Nodes.BlockNode):
if constructor:
arg_decls = []
arg_names = []
for arg in constructor.type.original_args[:len(constructor.type.args)-constructor.type.optional_arg_count]:
for arg in constructor.type.original_args[
:len(constructor.type.args)-constructor.type.optional_arg_count]:
arg_decls.append(arg.declaration_code())
arg_names.append(arg.cname)
if constructor.type.optional_arg_count:
......
# mode: run
# tag: cpp, werror
# cython: experimental_cpp_class_def=True
# distutils: extra_compile_args=-std=c++0x
cdef double pi
from math import pi
......
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