Change time_str to be a reference

Co-authored-by: Lion <development@kortlepel.com>
This commit is contained in:
SaltySnailandLion authored and GitHub committed 2024-05-25 20:44:51 +02:00
1 parent 29c3fed374
commit 135008a73c
1 file changed
+1 -1
+1 -1
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);
}