Index: util/mach/exc_client_variants.cc |
diff --git a/util/mach/exc_client_variants.cc b/util/mach/exc_client_variants.cc |
index 71e39691acec5ff22cb86d68e11298c338722008..2495a60be3bff7404f198aac0bf4931e527057a9 100644 |
--- a/util/mach/exc_client_variants.cc |
+++ b/util/mach/exc_client_variants.cc |
@@ -45,7 +45,7 @@ kern_return_t UniversalExceptionRaise(exception_behavior_t behavior, |
if ((behavior & MACH_EXCEPTION_CODES) == 0 && code_count) { |
small_code_vector.reserve(code_count); |
for (size_t code_index = 0; code_index < code_count; ++code_index) { |
- small_code_vector[code_index] = code[code_index]; |
+ small_code_vector.push_back(code[code_index]); |
} |
small_code = &small_code_vector[0]; |
} |