summaryrefslogtreecommitdiff
path: root/src/gui/widgets/namesmodel.h
diff options
context:
space:
mode:
Diffstat (limited to 'src/gui/widgets/namesmodel.h')
-rw-r--r--src/gui/widgets/namesmodel.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/gui/widgets/namesmodel.h b/src/gui/widgets/namesmodel.h
index c64c6ea26..f70dd2571 100644
--- a/src/gui/widgets/namesmodel.h
+++ b/src/gui/widgets/namesmodel.h
@@ -43,7 +43,7 @@ class NamesModel : public gcn::ListModel
StringVect &getNames() A_WARN_UNUSED
{ return mNames; }
- size_t size() A_WARN_UNUSED
+ size_t size() const A_WARN_UNUSED
{ return mNames.size(); }
void clear()