From f052d8630d79c514dd610b975f8e17226c709fa3 Mon Sep 17 00:00:00 2001 From: apio Date: Mon, 19 Jun 2023 12:23:56 +0200 Subject: [PATCH] libos: Use Vector::shallow_copy() in ArgumentParser --- libos/src/ArgumentParser.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/libos/src/ArgumentParser.cpp b/libos/src/ArgumentParser.cpp index 8dbdecf9..a6ba631f 100644 --- a/libos/src/ArgumentParser.cpp +++ b/libos/src/ArgumentParser.cpp @@ -118,7 +118,7 @@ namespace os bool is_still_parsing_flags = true; - Vector positional_args = TRY(m_positional_args.deep_copy()); + Vector positional_args = TRY(m_positional_args.shallow_copy()); for (int i = 1; i < argc; i++) {