summaryrefslogtreecommitdiff
path: root/src/bootstrap.cc
diff options
context:
space:
mode:
authorBent Bisballe Nyeng <deva@aasimon.org>2024-12-23 12:14:46 +0100
committerBent Bisballe Nyeng <deva@aasimon.org>2025-01-08 19:01:09 +0100
commita7f2893bfb5149944be598bd93b642ead27c1886 (patch)
treeb2086fda57e5453b3493d91923d1855bc2bcd0b5 /src/bootstrap.cc
parentc50b7554cfd23b53107f2a2917a0be22a68b0c11 (diff)
Diffstat (limited to 'src/bootstrap.cc')
-rw-r--r--src/bootstrap.cc2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/bootstrap.cc b/src/bootstrap.cc
index aa50561..9d895ba 100644
--- a/src/bootstrap.cc
+++ b/src/bootstrap.cc
@@ -41,7 +41,7 @@ bool ctor::configuration::has(const std::string& key) const
return false;
}
-const std::string& ctor::configuration::get(const std::string& key, const std::string& default_value) const
+std::string ctor::configuration::get(const std::string& key, const std::string& default_value) const
{
auto cxx_env = std::getenv("CXX");
if(key == ctor::cfg::build_cxx && cxx_env)