diff options
| author | Carl Hetherington <cth@carlh.net> | 2020-08-27 20:37:32 +0000 |
|---|---|---|
| committer | Carl Hetherington <cth@carlh.net> | 2020-09-01 16:34:26 +0200 |
| commit | c04fec82d25127fafa73c3daff87bece9aa8c8e8 (patch) | |
| tree | c52e8156ac0c1a0cfe050c8722dcdd34b7321916 /src/wx/content_widget.h | |
| parent | 63ea8ea5fdfff1158def8c57361bcc3da21e2ad6 (diff) | |
Build fixes for Boost >= 1.73
Forward-ported-from: d1e9749ca290673639a49d693a8fe5c6557cc2de
Diffstat (limited to 'src/wx/content_widget.h')
| -rw-r--r-- | src/wx/content_widget.h | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/src/wx/content_widget.h b/src/wx/content_widget.h index de7ebedc5..52a5e5851 100644 --- a/src/wx/content_widget.h +++ b/src/wx/content_widget.h @@ -108,7 +108,11 @@ public: update_from_model (); for (typename List::iterator i = _content.begin(); i != _content.end(); ++i) { +#if BOOST_VERSION >= 106100 + _connections.push_back ((*i)->Change.connect (boost::bind (&ContentWidget::model_changed, this, boost::placeholders::_1, boost::placeholders::_3))); +#else _connections.push_back ((*i)->Change.connect (boost::bind (&ContentWidget::model_changed, this, _1, _3))); +#endif } } |
