Skip to content

Commit aa9d61e

Browse files
committed
fix non-c-typedef-for-linkage error
1 parent 62df53c commit aa9d61e

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

include/mochios/client/options.h

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -6,11 +6,11 @@ namespace mochios {
66

77
namespace client {
88

9-
typedef struct {
9+
struct Connection {
1010
std::string host;
1111
unsigned short port;
1212
unsigned int timeout = 2;
13-
} Connection;
13+
};
1414

1515
} // namespace client
1616

0 commit comments

Comments
 (0)