From 1142c908df577cf1f1b541575bf468aa2a597b73 Mon Sep 17 00:00:00 2001 From: Robbert van der Helm Date: Mon, 30 Nov 2020 22:53:08 +0100 Subject: [PATCH] Add serialization support for PluginType --- src/common/plugins.h | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/src/common/plugins.h b/src/common/plugins.h index 37f69b7a..55778726 100644 --- a/src/common/plugins.h +++ b/src/common/plugins.h @@ -42,6 +42,11 @@ enum class LibArchitecture { dll_32, dll_64 }; */ enum class PluginType { vst2, vst3, unknown }; +template +void serialize(S& s, PluginType& plugin_type) { + s.value4b(plugin_type); +} + /** * Determine the architecture of a `.dll` file based on the file header. *