From d97973925d279c07efbafb229b748eb33b8bee8c Mon Sep 17 00:00:00 2001 From: Robin Gareus Date: Wed, 31 Jan 2018 03:34:21 +0100 Subject: const where const is due --- libs/widgets/widgets/ardour_button.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'libs') diff --git a/libs/widgets/widgets/ardour_button.h b/libs/widgets/widgets/ardour_button.h index b530e8b399..dde9e84b0a 100644 --- a/libs/widgets/widgets/ardour_button.h +++ b/libs/widgets/widgets/ardour_button.h @@ -87,7 +87,7 @@ class LIBWIDGETS_API ArdourButton : public CairoWidget , public Gtkmm2ext::Activ void set_corner_radius (float); void set_text (const std::string&, bool markup = false); - const std::string& get_text () { return _text; } + const std::string& get_text () const { return _text; } bool get_markup () const { return _markup; } void set_angle (const double); void set_alignment (const float, const float); -- cgit v1.2.3