From ae61ccae17a7bfd9e744d3be5d7b6421f9862cef Mon Sep 17 00:00:00 2001 From: Andrej Babic Date: Wed, 30 Sep 2020 11:34:54 +0200 Subject: [PATCH] Fix namespace of function --- core-buffer/src/BufferUtils.cpp | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/core-buffer/src/BufferUtils.cpp b/core-buffer/src/BufferUtils.cpp index 69fd24d..b811d21 100644 --- a/core-buffer/src/BufferUtils.cpp +++ b/core-buffer/src/BufferUtils.cpp @@ -127,7 +127,8 @@ void* BufferUtils::bind_socket( return socket; } -BufferUtils::DetectorConfig read_json_config(const std::string& filename) +BufferUtils::DetectorConfig BufferUtils::read_json_config( + const std::string& filename) { std::ifstream ifs(filename); rapidjson::IStreamWrapper isw(ifs);