summaryrefslogtreecommitdiff
path: root/FL/Fl_Int_Vector.H
diff options
context:
space:
mode:
Diffstat (limited to 'FL/Fl_Int_Vector.H')
-rw-r--r--FL/Fl_Int_Vector.H4
1 files changed, 2 insertions, 2 deletions
diff --git a/FL/Fl_Int_Vector.H b/FL/Fl_Int_Vector.H
index af1b77423..8fc0a23ad 100644
--- a/FL/Fl_Int_Vector.H
+++ b/FL/Fl_Int_Vector.H
@@ -120,7 +120,7 @@ public:
}
/** Return the number of integer elements in the array. */
- unsigned int size() {
+ unsigned int size() const {
return size_;
}
@@ -150,7 +150,7 @@ public:
\warning You must not call back() if the array is empty, i.e. if (size() == 0).
\todo Internals should maybe assert(size_ != 0)
*/
- int back() {
+ int back() const {
return arr_[size_ - 1];
}