From 8c1b5a11fe1d448cde205f8c4172b2993d9276a8 Mon Sep 17 00:00:00 2001 From: Paul Fd Date: Fri, 10 Sep 2021 13:59:20 +0200 Subject: [PATCH] Avoid a copy --- clients/jack_client.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/clients/jack_client.cpp b/clients/jack_client.cpp index 799a6dbf..7438e801 100644 --- a/clients/jack_client.cpp +++ b/clients/jack_client.cpp @@ -194,7 +194,7 @@ bool load_instrument(const char *fpath) { } -std::vector string_tokenize(const std::string str) { +std::vector string_tokenize(const std::string& str) { std::vector tokens; std::string part = ""; for (size_t i=0; i