Skip to content

Commit ea2be83

Browse files
author
roman_yakovenko
committed
fixing small bug. for the following class
struct map_iterator_t{ map_iterator_t( int i ){} map_iterator_t( const map_iterator_t& ){} private: map_iterator_t(){}; }; py++ generated wrong code
1 parent c68354b commit ea2be83

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

unittests/copy_constructor_tester.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -19,7 +19,7 @@ def __init__(self, *args ):
1919

2020
def setUp(self):
2121
if not self.global_ns:
22-
xml_file = os.path.join( autoconfig.data_directory, 'ogre1.4.xml' )
22+
xml_file = os.path.join( autoconfig.data_directory, 'ogre.1.7.xml' )
2323
reader = parser.source_reader_t( autoconfig.cxx_parsers_cfg.gccxml )
2424
self.global_ns = declarations.get_global_namespace( reader.read_xml_file(xml_file) )
2525
self.global_ns.init_optimizer()

0 commit comments

Comments
 (0)