diff options
| author | Carl Hetherington <cth@carlh.net> | 2020-08-27 20:37:32 +0000 |
|---|---|---|
| committer | Carl Hetherington <cth@carlh.net> | 2020-08-31 23:38:33 +0200 |
| commit | d1e9749ca290673639a49d693a8fe5c6557cc2de (patch) | |
| tree | 0dd75c672ee1685036c0214b0fde278606a1a60b /src/wx/content_widget.h | |
| parent | a682c021f299ab69d9c0ff747dfdb6b76b6ebd9c (diff) | |
Build fixes for Boost >= 1.73v2.14.37
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 c4ae4d591..872784888 100644 --- a/src/wx/content_widget.h +++ b/src/wx/content_widget.h @@ -105,7 +105,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 } } |
