From 39825a80346707243b689f48276a8f6cd52d2969 Mon Sep 17 00:00:00 2001 From: Steffen Vogel Date: Wed, 9 Nov 2022 17:00:50 -0500 Subject: [PATCH] fpga: fix factory Signed-off-by: Steffen Vogel --- include/villas/nodes/fpga.hpp | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) diff --git a/include/villas/nodes/fpga.hpp b/include/villas/nodes/fpga.hpp index 1d52cab51..dc5002712 100644 --- a/include/villas/nodes/fpga.hpp +++ b/include/villas/nodes/fpga.hpp @@ -85,7 +85,11 @@ public: virtual Node * make() { - return new FpgaNode; + auto *n = new FpgaNode; + + init(n); + + return n; } virtual