From f54117986471ebee69575b8e1e7e36512c7cb218 Mon Sep 17 00:00:00 2001 From: Paul Fd Date: Tue, 10 Mar 2020 13:36:20 +0100 Subject: [PATCH] Use the verbose type_trait check in Opcode.h --- src/sfizz/Opcode.h | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/sfizz/Opcode.h b/src/sfizz/Opcode.h index 2ac43209..7edbe9ac 100644 --- a/src/sfizz/Opcode.h +++ b/src/sfizz/Opcode.h @@ -45,7 +45,7 @@ struct Opcode { * @param validRange the range of admitted values * @return absl::optional the cast value, or null */ -template ::value, int> = 0> +template ::value, int>::type = 0> inline absl::optional readOpcode(absl::string_view value, const Range& validRange) { int64_t returnedValue; @@ -74,7 +74,7 @@ inline absl::optional readOpcode(absl::string_view value, const Range * @param validRange the range of admitted values * @return absl::optional the cast value, or null */ -template ::value, int> = 0> +template ::value, int>::type = 0> inline absl::optional readOpcode(absl::string_view value, const Range& validRange) { float returnedValue;