summaryrefslogtreecommitdiff
path: root/FL/Fl_Table.H
diff options
context:
space:
mode:
authorAlbrecht Schlosser <albrechts.fltk@online.de>2025-03-19 14:44:16 +0100
committerAlbrecht Schlosser <albrechts.fltk@online.de>2025-03-19 14:44:16 +0100
commit1ccafa83b2c783fdfe088af1ddf9a853e071cf5d (patch)
tree7b4c292888807b02448ff5341208821e5c2a2eed /FL/Fl_Table.H
parent4b07ab391ac77e2996e61646a258064bb1cadfeb (diff)
Remove obsolete build option 'FLTK_OPTION_STD'
This option is no longer needed since FLTK 1.5 always requires C++11.
Diffstat (limited to 'FL/Fl_Table.H')
-rw-r--r--FL/Fl_Table.H14
1 files changed, 2 insertions, 12 deletions
diff --git a/FL/Fl_Table.H b/FL/Fl_Table.H
index 7fb80cd04..99ceb3009 100644
--- a/FL/Fl_Table.H
+++ b/FL/Fl_Table.H
@@ -22,17 +22,7 @@
#include <FL/Fl_Group.H>
#include <FL/Fl_Scroll.H>
-// EXPERIMENTAL
-// We use either std::vector or the private class Fl_Int_Vector
-// depending on the build option FLTK_OPTION_STD or --enable-use_std.
-// This option allows to use std::string and std::vector in FLTK 1.4.x
-
-#if (FLTK_USE_STD)
#include <vector>
-typedef std::vector<int> Fl_Int_Vector;
-#else
-class Fl_Int_Vector; // private class declared in src/Fl_Int_Vector.H
-#endif
/**
A table of widgets or other content.
@@ -167,8 +157,8 @@ private:
};
unsigned int flags_;
- Fl_Int_Vector *_colwidths; // column widths in pixels
- Fl_Int_Vector *_rowheights; // row heights in pixels
+ std::vector<int> *_colwidths; // column widths in pixels
+ std::vector<int> *_rowheights; // row heights in pixels
// number of columns and rows == size of corresponding vectors
int col_size(); // size of the column widths vector