From 4df9a4b0f09131e5b6cc54e6d648d39f30a759c6 Mon Sep 17 00:00:00 2001 From: Kp Date: Sun, 13 Sep 2015 21:02:19 +0000 Subject: [PATCH] Use declval for serial class_type --- common/include/serial.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/common/include/serial.h b/common/include/serial.h index 70b329b24..fa77c1456 100644 --- a/common/include/serial.h +++ b/common/include/serial.h @@ -483,7 +483,7 @@ public: }; template -class class_type : public message_type(*static_cast(nullptr))))> +class class_type : public message_type()))> { };