File tree Expand file tree Collapse file tree 2 files changed +3
-4
lines changed
test/API/commands/command/script/add Expand file tree Collapse file tree 2 files changed +3
-4
lines changed Original file line number Diff line number Diff line change @@ -1419,9 +1419,9 @@ class CommandObjectScriptingObjectParsed : public CommandObjectParsed {
1419
1419
m_options_definition_up.reset (new OptionDefinition[m_num_options]);
1420
1420
// We need to hand out pointers to contents of these vectors; we reserve
1421
1421
// as much as we'll need up front so they don't get freed on resize...
1422
- m_usage_container.reserve (m_num_options);
1423
- m_enum_storage.reserve (m_num_options);
1424
- m_enum_vector.reserve (m_num_options);
1422
+ m_usage_container.resize (m_num_options);
1423
+ m_enum_storage.resize (m_num_options);
1424
+ m_enum_vector.resize (m_num_options);
1425
1425
1426
1426
size_t counter = 0 ;
1427
1427
size_t short_opt_counter = 0 ;
Original file line number Diff line number Diff line change @@ -15,7 +15,6 @@ class ParsedCommandTestCase(TestBase):
15
15
16
16
# This crashes on the x86_64 Debian bot, but the failure is not helpful.
17
17
# Disable the test while I try to find a way to reproduce.
18
- @skipIfLinux
19
18
def test (self ):
20
19
self .pycmd_tests ()
21
20
You can’t perform that action at this time.
0 commit comments