From cf04f6b569d97898fa13e57a9b4b61f916be6774 Mon Sep 17 00:00:00 2001 From: Manuel Pitz Date: Tue, 10 Jan 2023 16:32:24 +0100 Subject: [PATCH] make compatible to fmt version 9.0.3 review fixes Signed-off-by: Manuel Pitz --- include/villas/nodes/websocket.hpp | 5 +++-- include/villas/path.hpp | 3 ++- 2 files changed, 5 insertions(+), 3 deletions(-) diff --git a/include/villas/nodes/websocket.hpp b/include/villas/nodes/websocket.hpp index 821f2aa57..ba6db028f 100644 --- a/include/villas/nodes/websocket.hpp +++ b/include/villas/nodes/websocket.hpp @@ -26,7 +26,7 @@ namespace villas { namespace node { /* Forward declarations */ -// class NodeCompat; +class NodeCompat; #define DEFAULT_WEBSOCKET_QUEUE_LENGTH (DEFAULT_QUEUE_LENGTH * 64) @@ -97,7 +97,8 @@ struct websocket_connection { return os; } - std::string toString() { + std::string toString() + { std::stringstream ss; ss << *this; return ss.str(); diff --git a/include/villas/path.hpp b/include/villas/path.hpp index 59a5fd673..b2a9e5050 100644 --- a/include/villas/path.hpp +++ b/include/villas/path.hpp @@ -126,7 +126,8 @@ public: return os; } - std::string toString() { + std::string toString() + { std::stringstream ss; ss << *this; return ss.str();