diff options
| author | Carl Hetherington <cth@carlh.net> | 2020-08-27 20:37:32 +0000 |
|---|---|---|
| committer | Carl Hetherington <cth@carlh.net> | 2020-08-31 14:21:49 +0200 |
| commit | 3e20b106388c0ba4a291cb15968a10c6fbd5b367 (patch) | |
| tree | 7cb6dd24de47ba7cb02b9d8c47f229af7cedd4a0 /src/wx/content_widget.h | |
| parent | 7c5e4e6b7a29db93184a57076d05193a8360561d (diff) | |
Build fixes for Boost >= 1.73new-boost-fixes
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 } } |
