From aa9d61e86d5829dc66e099be4804ff8e71fbd754 Mon Sep 17 00:00:00 2001 From: jadit19 Date: Sun, 21 Sep 2025 19:00:50 +0530 Subject: [PATCH] fix non-c-typedef-for-linkage error --- include/mochios/client/options.h | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/include/mochios/client/options.h b/include/mochios/client/options.h index 623f83e..74b8a79 100644 --- a/include/mochios/client/options.h +++ b/include/mochios/client/options.h @@ -6,11 +6,11 @@ namespace mochios { namespace client { -typedef struct { +struct Connection { std::string host; unsigned short port; unsigned int timeout = 2; -} Connection; +}; } // namespace client