From 1124e191f018c55468a691c47fd292210a765691 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Alejandro=20Dom=C3=ADnguez?= Date: Wed, 28 Aug 2024 19:48:14 +0200 Subject: [PATCH] Replace boost::integer::gcd with std::gcd --- gtk2_ardour/beatbox_gui.cc | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/gtk2_ardour/beatbox_gui.cc b/gtk2_ardour/beatbox_gui.cc index aeb15cd74b..a26336d739 100644 --- a/gtk2_ardour/beatbox_gui.cc +++ b/gtk2_ardour/beatbox_gui.cc @@ -802,7 +802,7 @@ StepView::set_timing_text () if (_step.offset() == Temporal::Beats()) { text->set (X_("0")); } else { - const int64_t gcd = boost::integer::gcd (_step.offset().to_ticks(), int64_t (1920)); + const int64_t gcd = std::gcd (_step.offset().to_ticks(), int64_t (1920)); const int64_t n = _step.offset().to_ticks() / gcd; const int64_t d = 1920 / gcd; text->set (string_compose ("%1/%2", n, d));