summaryrefslogtreecommitdiff
path: root/src/gui/serverdialog.h
diff options
context:
space:
mode:
authorThorbjørn Lindeijer <thorbjorn@lindeijer.nl>2012-02-24 21:16:12 +0100
committerThorbjørn Lindeijer <thorbjorn@lindeijer.nl>2012-03-24 22:28:23 +0100
commita5690fa2a4cce2698225f1f558183f6fe306d860 (patch)
tree822d4e237412afd38008de04d9be11fd0718f101 /src/gui/serverdialog.h
parent054246ebffcdd20da72a8e464b40eaf64d484743 (diff)
downloadmana-a5690fa2a4cce2698225f1f558183f6fe306d860.tar.gz
mana-a5690fa2a4cce2698225f1f558183f6fe306d860.tar.bz2
mana-a5690fa2a4cce2698225f1f558183f6fe306d860.tar.xz
mana-a5690fa2a4cce2698225f1f558183f6fe306d860.zip
Introduced compile-time option to disable use of C++0x
This is in order to still support older compilers, in particular GCC 4.2.1, so that Mana may be compiled for Maemo 5. Reviewed-by: Yohann Ferreira
Diffstat (limited to 'src/gui/serverdialog.h')
-rw-r--r--src/gui/serverdialog.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/gui/serverdialog.h b/src/gui/serverdialog.h
index eedf5134..cf9e62e7 100644
--- a/src/gui/serverdialog.h
+++ b/src/gui/serverdialog.h
@@ -113,7 +113,7 @@ class ServerDialog : public Window,
protected:
friend class ServersListModel;
- MutexLocker lock() { return MutexLocker(&mMutex); }
+ Mutex *getMutex() { return &mMutex; }
friend class CustomServerDialog;
/**