aboutsummaryrefslogtreecommitdiff
path: root/src/server/game/Calendar/CalendarMgr.h
diff options
context:
space:
mode:
authorVincent-Michael <Vincent_Michael@gmx.de>2013-09-05 16:46:14 +0200
committerVincent-Michael <Vincent_Michael@gmx.de>2013-09-05 16:46:14 +0200
commitd25c2e7f5b6ac7bb79960037cc728a46450d5609 (patch)
treea8d7f053a8d518423316e533958cdc79c714ab0d /src/server/game/Calendar/CalendarMgr.h
parent6514e21b7cd8ec3ef7c0c44653d99245b3f57012 (diff)
parent458f5b9502da9f861ba729142dd63c3a98191ece (diff)
Merge branch 'master' of github.com:TrinityCore/TrinityCore into 4.3.4
Conflicts: src/server/game/AI/SmartScripts/SmartScriptMgr.cpp src/server/game/Battlegrounds/BattlegroundMgr.cpp src/server/game/Guilds/Guild.h src/server/game/Spells/SpellMgr.cpp src/tools/map_extractor/loadlib.cpp
Diffstat (limited to 'src/server/game/Calendar/CalendarMgr.h')
-rw-r--r--src/server/game/Calendar/CalendarMgr.h6
1 files changed, 3 insertions, 3 deletions
diff --git a/src/server/game/Calendar/CalendarMgr.h b/src/server/game/Calendar/CalendarMgr.h
index fac5a59d2f1..1974804e230 100644
--- a/src/server/game/Calendar/CalendarMgr.h
+++ b/src/server/game/Calendar/CalendarMgr.h
@@ -166,7 +166,7 @@ struct CalendarInvite
void SetStatusTime(time_t statusTime) { _statusTime = statusTime; }
time_t GetStatusTime() const { return _statusTime; }
- void SetText(std::string text) { _text = text; }
+ void SetText(const std::string& text) { _text = text; }
std::string GetText() const { return _text; }
void SetStatus(CalendarInviteStatus status) { _status = status; }
@@ -223,10 +223,10 @@ struct CalendarEvent
void SetGuildId(uint32 guildId) { _guildId = guildId; }
uint32 GetGuildId() const { return _guildId; }
- void SetTitle(std::string title) { _title = title; }
+ void SetTitle(const std::string& title) { _title = title; }
std::string GetTitle() const { return _title; }
- void SetDescription(std::string description) { _description = description; }
+ void SetDescription(const std::string& description) { _description = description; }
std::string GetDescription() const { return _description; }
void SetType(CalendarEventType type) { _type = type; }