Change time_str to be a reference

Co-authored-by: Lion <development@kortlepel.com>
This commit is contained in:
SaltySnail 2024-05-25 20:44:51 +02:00 committed by GitHub
parent 29c3fed374
commit 135008a73c
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194

View File

@ -4,5 +4,5 @@
#include <string>
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);
}