aboutsummaryrefslogtreecommitdiff
path: root/src/openvic-simulation/economy/Building.hpp
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.hpp
parent6b3d2315225468e03bef30e942263fe9b8fc06fa (diff)
Changed return types to std::string_view
Diffstat (limited to 'src/openvic-simulation/economy/Building.hpp')
-rw-r--r--src/openvic-simulation/economy/Building.hpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/openvic-simulation/economy/Building.hpp b/src/openvic-simulation/economy/Building.hpp
index 3f74c3d..3d1e24b 100644
--- a/src/openvic-simulation/economy/Building.hpp
+++ b/src/openvic-simulation/economy/Building.hpp
@@ -70,7 +70,7 @@ namespace OpenVic {
Building(Building&&) = default;
BuildingType const& get_type() const;
- std::string const& get_on_completion() const;
+ std::string_view get_on_completion() const;
fixed_point_t get_completion_size() const;
level_t get_max_level() const;
std::map<Good const*, fixed_point_t> const& get_goods_cost() const;