aboutsummaryrefslogtreecommitdiff
path: root/src/openvic-simulation/economy/Building.cpp
diff options
context:
space:
mode:
author hop311 <hop3114@gmail.com>2023-10-13 00:43:10 +0200
committer hop311 <hop3114@gmail.com>2023-10-13 00:43:10 +0200
commitd95c3c9da75018e3e959e5493ebd9c520e00bf7a (patch)
tree4ad745778dea488ad10509cf17d349c3ef0cc229 /src/openvic-simulation/economy/Building.cpp
parent6b3d2315225468e03bef30e942263fe9b8fc06fa (diff)
Changed return types to std::string_view
Diffstat (limited to 'src/openvic-simulation/economy/Building.cpp')
-rw-r--r--src/openvic-simulation/economy/Building.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/openvic-simulation/economy/Building.cpp b/src/openvic-simulation/economy/Building.cpp
index d27c91a..23bd04c 100644
--- a/src/openvic-simulation/economy/Building.cpp
+++ b/src/openvic-simulation/economy/Building.cpp
@@ -17,7 +17,7 @@ BuildingType const& Building::get_type() const {
return type;
}
-std::string const& Building::get_on_completion() const {
+std::string_view Building::get_on_completion() const {
return on_completion;
}