From 135008a73cd97593bbd797ae828b8eab260d9f7a Mon Sep 17 00:00:00 2001 From: SaltySnail <51403141+SaltySnail@users.noreply.github.com> Date: Sat, 25 May 2024 20:44:51 +0200 Subject: [PATCH] Change time_str to be a reference Co-authored-by: Lion --- include/ChronoWrapper.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/include/ChronoWrapper.h b/include/ChronoWrapper.h index f47c8f1..009e911 100644 --- a/include/ChronoWrapper.h +++ b/include/ChronoWrapper.h @@ -4,5 +4,5 @@ #include namespace ChronoWrapper { - std::chrono::high_resolution_clock::duration TimeFromStringWithLiteral(const std::string time_str); + std::chrono::high_resolution_clock::duration TimeFromStringWithLiteral(const std::string& time_str); }