mirror of
https://github.com/Ardour/ardour.git
synced 2026-01-04 12:45:45 +01:00
MSVC won't allow floating point types to be mapped directly to enums
This commit is contained in:
parent
cb7e8025f2
commit
cde50f847f
1 changed files with 1 additions and 1 deletions
|
|
@ -39,7 +39,7 @@ class LIBARDOUR_API MonitorControl : public SlavableAutomationControl
|
|||
MonitorControl (Session& session, std::string const & name, Monitorable& m);
|
||||
~MonitorControl() {}
|
||||
|
||||
MonitorChoice monitoring_choice() const { return static_cast<MonitorChoice> (get_value()); }
|
||||
MonitorChoice monitoring_choice() const { return static_cast<MonitorChoice> ((int)get_value()); }
|
||||
MonitorState monitoring_state () const { return _monitorable.monitoring_state(); }
|
||||
|
||||
int set_state (XMLNode const&, int);
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue