aboutsummaryrefslogtreecommitdiff
path: root/src/client/minimap.h
diff options
context:
space:
mode:
authorHerman Semenov <GermanAizek@yandex.ru>2022-09-06 13:21:09 +0300
committerGitHub <noreply@github.com>2022-09-06 11:21:09 +0100
commit038da00e799b4bf3af824075a260083c56392964 (patch)
tree8c0e3218455073684c2521cec41b7df06fff8598 /src/client/minimap.h
parentff6dcfea82974df6db5a557e31aaddb6bdb7a71f (diff)
downloadminetest-038da00e799b4bf3af824075a260083c56392964.tar.xz
Code optimizations / refactor (#12704)
Co-authored-by: SmallJoker <SmallJoker@users.noreply.github.com> Co-authored-by: sfan5 <sfan5@live.de>
Diffstat (limited to 'src/client/minimap.h')
-rw-r--r--src/client/minimap.h4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/client/minimap.h b/src/client/minimap.h
index 87c9668ee..f06a2e173 100644
--- a/src/client/minimap.h
+++ b/src/client/minimap.h
@@ -130,8 +130,8 @@ public:
void clearModes() { m_modes.clear(); };
void addMode(MinimapModeDef mode);
- void addMode(MinimapType type, u16 size = 0, std::string label = "",
- std::string texture = "", u16 scale = 1);
+ void addMode(MinimapType type, u16 size = 0, const std::string &label = "",
+ const std::string &texture = "", u16 scale = 1);
void setModeIndex(size_t index);
size_t getModeIndex() const { return m_current_mode_index; };