diff options
author | Andrei Karas <akaras@inbox.ru> | 2016-10-28 20:47:42 +0300 |
---|---|---|
committer | Andrei Karas <akaras@inbox.ru> | 2016-10-28 20:47:42 +0300 |
commit | e7482b08370a87941f8d100d1f833f2128cb901c (patch) | |
tree | 93c23722bc7e3b56a9e5eaef1d12e770e0db9902 /src/gui/windows/questswindow.cpp | |
parent | 6f496c4919a62edbb73e9adbc3ddd84484afc756 (diff) | |
download | manaplus-e7482b08370a87941f8d100d1f833f2128cb901c.tar.gz manaplus-e7482b08370a87941f8d100d1f833f2128cb901c.tar.bz2 manaplus-e7482b08370a87941f8d100d1f833f2128cb901c.tar.xz manaplus-e7482b08370a87941f8d100d1f833f2128cb901c.zip |
Add missing consts references.
Diffstat (limited to 'src/gui/windows/questswindow.cpp')
-rw-r--r-- | src/gui/windows/questswindow.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/gui/windows/questswindow.cpp b/src/gui/windows/questswindow.cpp index c35bb80b1..c8ce4246e 100644 --- a/src/gui/windows/questswindow.cpp +++ b/src/gui/windows/questswindow.cpp @@ -478,7 +478,7 @@ void QuestsWindow::showQuest(const QuestItem *const quest) const std::string var1 = toString(var.var1); const std::string var2 = toString(var.var2); const std::string var3 = toString(var.var3); - const std::string timeStr = timeDiffToString(var.time1).c_str(); + const std::string timeStr = timeDiffToString(var.time1); mText->clearRows(); FOR_EACH (std::vector<QuestItemText>::const_iterator, it, texts) { |