From 7c94499aeca8a67ee5f0fe51fb4f957d6618fef4 Mon Sep 17 00:00:00 2001 From: Robin Gareus Date: Mon, 19 Jun 2017 17:40:32 +0200 Subject: Remove Cruft -- AutomationStyle never did anything. Trim automation is planned via SlavableAC as normal AutomationMode. Some of this code have a revival (a special "Trim+Preview" state before merging Automation but that has to be more general than Pan & Gain. --- libs/ardour/ardour/types_convert.h | 14 -------------- 1 file changed, 14 deletions(-) (limited to 'libs/ardour/ardour/types_convert.h') diff --git a/libs/ardour/ardour/types_convert.h b/libs/ardour/ardour/types_convert.h index cee969dd00..52cf616c29 100644 --- a/libs/ardour/ardour/types_convert.h +++ b/libs/ardour/ardour/types_convert.h @@ -88,20 +88,6 @@ inline bool string_to (const std::string& str, ARDOUR::AutoState& as) return true; } -template <> -inline bool to_string (ARDOUR::AutoStyle val, std::string& str) -{ - str = ARDOUR::auto_style_to_string (val); - return true; -} - -template <> -inline bool string_to (const std::string& str, ARDOUR::AutoStyle& as) -{ - as = ARDOUR::string_to_auto_style (str); - return true; -} - template <> inline bool to_string (ARDOUR::DataType val, std::string& str) { -- cgit v1.2.3