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
|
|
@ -1459,7 +1459,7 @@ ARDOUR_UI::update_disk_space()
|
|||
return;
|
||||
}
|
||||
|
||||
boost::optional<samplecnt_t> opt_samples = _session->available_capture_duration();
|
||||
std::optional<samplecnt_t> opt_samples = _session->available_capture_duration();
|
||||
samplecnt_t fr = _session->sample_rate();
|
||||
|
||||
if (fr == 0) {
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue