From 27c3646d10e0c5d25905d7afc7a43289159f711b Mon Sep 17 00:00:00 2001 From: Andrei Karas Date: Fri, 8 Jul 2011 02:19:52 +0300 Subject: Fix some issues after automatic checking. Change compilation flags in make scripts. --- src/gui/shopwindow.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'src/gui/shopwindow.h') diff --git a/src/gui/shopwindow.h b/src/gui/shopwindow.h index bad4a0a4e..e07803225 100644 --- a/src/gui/shopwindow.h +++ b/src/gui/shopwindow.h @@ -95,7 +95,7 @@ class ShopWindow : public Window, public gcn::ActionListener, * Returns true if any instances exist. */ static bool isActive() - { return instances.size() > 0; } + { return !instances.empty(); } void setItemSelected(int id) { mSelectedItem = id; updateButtonsAndLabels(); } -- cgit v1.2.3-60-g2f50