From 76292c839380ceb393ab566f8cefb73b1920c61c Mon Sep 17 00:00:00 2001 From: John Burton Date: Sun, 3 May 2026 21:25:21 +0100 Subject: [PATCH] Make more efficient --- src/main.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/main.cpp b/src/main.cpp index 1739d77..d1b3bd0 100644 --- a/src/main.cpp +++ b/src/main.cpp @@ -1,6 +1,6 @@ #include -std::string get_greeting() { +const std::string& get_greeting() { return "Hello, world!"; }