mirror of
https://github.com/Ardour/ardour.git
synced 2025-12-06 06:44:57 +01:00
Reduce reliance on boost - the easy part
* boost::unordered_map -> std::unordered_map * BOOST_STATIC_ASSERT/static_assert * BOOST_FOREACH -> for * boost::tuple -> std::tuple/g * boost::math::isnormal -> std::isnormal * boost::container::set -> std::set * boost::none -> std::nullopt * boost::optional -> std::optional
This commit is contained in:
parent
168b917730
commit
ff95d81612
58 changed files with 144 additions and 155 deletions
|
|
@ -1838,24 +1838,24 @@ MixerStrip::parameter_changed (string p)
|
|||
*
|
||||
* @return optional value that is present if visibility state should be overridden.
|
||||
*/
|
||||
boost::optional<bool>
|
||||
std::optional<bool>
|
||||
MixerStrip::override_solo_visibility () const
|
||||
{
|
||||
if (is_master ()) {
|
||||
return boost::optional<bool> (false);
|
||||
return std::optional<bool> (false);
|
||||
}
|
||||
|
||||
return boost::optional<bool> ();
|
||||
return std::optional<bool> ();
|
||||
}
|
||||
|
||||
boost::optional<bool>
|
||||
std::optional<bool>
|
||||
MixerStrip::override_rec_mon_visibility () const
|
||||
{
|
||||
if (is_master ()) {
|
||||
return boost::optional<bool> (false);
|
||||
return std::optional<bool> (false);
|
||||
}
|
||||
|
||||
return boost::optional<bool> ();
|
||||
return std::optional<bool> ();
|
||||
}
|
||||
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue