This repository was archived by the owner on Jul 8, 2022. It is now read-only.
Commit e2f5b69
zmqeventconsumer/zmqeventsupplier: Make it compatible with all stock cppzmq versions
Depending on the cppzmq version from https://github.com/zeromq/cppzmq the
operator void* is either implicit or explicit.
We could now add a feature check in cmake to check for that and use code
paths for each variant.
But we could also be really pragmatic and just use a unconditional
static_cast<void*>.
Idea and initial patch by Michal Liszcz.1 parent 2f9ad4a commit e2f5b69
2 files changed
+5
-5
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
181 | 181 | | |
182 | 182 | | |
183 | 183 | | |
184 | | - | |
185 | | - | |
186 | | - | |
| 184 | + | |
| 185 | + | |
| 186 | + | |
187 | 187 | | |
188 | 188 | | |
189 | 189 | | |
| |||
1063 | 1063 | | |
1064 | 1064 | | |
1065 | 1065 | | |
1066 | | - | |
| 1066 | + | |
1067 | 1067 | | |
1068 | 1068 | | |
1069 | 1069 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
686 | 686 | | |
687 | 687 | | |
688 | 688 | | |
689 | | - | |
| 689 | + | |
690 | 690 | | |
691 | 691 | | |
692 | 692 | | |
| |||
0 commit comments