summaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorThorbjørn Lindeijer <bjorn@lindeijer.nl>2009-07-19 10:13:14 +0200
committerThorbjørn Lindeijer <bjorn@lindeijer.nl>2009-07-19 10:13:14 +0200
commit3e62ac1993dc8f3315115c12dfe12abec84b96c9 (patch)
tree77ff73959f3c918f8d5ad0935731577e5165d2f2 /src
parentae6a194d4ccb354c6adf9fe4c084c64906d40907 (diff)
downloadmana-3e62ac1993dc8f3315115c12dfe12abec84b96c9.tar.gz
mana-3e62ac1993dc8f3315115c12dfe12abec84b96c9.tar.bz2
mana-3e62ac1993dc8f3315115c12dfe12abec84b96c9.tar.xz
mana-3e62ac1993dc8f3315115c12dfe12abec84b96c9.zip
Apparently, this function shouldn't return anything
Diffstat (limited to 'src')
-rw-r--r--src/gui/statuswindow.cpp6
-rw-r--r--src/gui/statuswindow.h2
2 files changed, 2 insertions, 6 deletions
diff --git a/src/gui/statuswindow.cpp b/src/gui/statuswindow.cpp
index 18f1ceb3..4df474a7 100644
--- a/src/gui/statuswindow.cpp
+++ b/src/gui/statuswindow.cpp
@@ -199,14 +199,10 @@ void StatusWindow::update()
update();
}
-std::string StatusWindow::update(int id)
+void StatusWindow::update(int id)
{
// TODO: only update what changed
update();
-
- // FIXME: Added the return value to be able to compile, haven't got a
- // clue what it is supposed to return (Kess, July 2009)
- return "";
}
void StatusWindow::addAttribute(int id, const std::string &name,
diff --git a/src/gui/statuswindow.h b/src/gui/statuswindow.h
index d5bd8fd6..b7623806 100644
--- a/src/gui/statuswindow.h
+++ b/src/gui/statuswindow.h
@@ -54,7 +54,7 @@ class StatusWindow : public Window, public gcn::ActionListener
*/
void update();
- std::string update(int id);
+ void update(int id);
void addAttribute(int id, const std::string &name, bool modifiable);