Commit 23a9539
authored
fix(session): replace internal header include with forward declaration (#943)
messaging_session.h included internal/tcp/tcp_socket.h which is not
installed by cmake. External consumers (e.g., pacs_system) that
transitively include this header get a fatal compilation error.
Replace with a forward declaration of kcenon::network::internal::tcp_socket
since the header only uses std::shared_ptr<tcp_socket> as a member type.
Move the actual include to messaging_session.cpp where the full type is needed.
Closes #9421 parent 93bc564 commit 23a9539
2 files changed
Lines changed: 6 additions & 1 deletion
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
32 | 32 | | |
33 | 33 | | |
34 | 34 | | |
35 | | - | |
| 35 | + | |
| 36 | + | |
| 37 | + | |
| 38 | + | |
| 39 | + | |
36 | 40 | | |
37 | 41 | | |
38 | 42 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
6 | 6 | | |
7 | 7 | | |
8 | 8 | | |
| 9 | + | |
9 | 10 | | |
10 | 11 | | |
11 | 12 | | |
| |||
0 commit comments