Skip to content

Commit dac9eef

Browse files
authored
Merge pull request #212 from robinlinden/add-ci
Fix link error in provide_prefix with some compilers
2 parents 6e65060 + 12cc0c3 commit dac9eef

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

examples/provide_prefix.cpp

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -127,7 +127,8 @@ int main(int argc, char** argv)
127127
io.stop();
128128
return;
129129
}
130-
provide_future = session->provide(PREFIX, &calculator, { { "match", msgpack::object("prefix") } }).then(
130+
msgpack::zone z;
131+
provide_future = session->provide(PREFIX, &calculator, { { "match", msgpack::object("prefix", z) } }).then(
131132
[&](boost::future<autobahn::wamp_registration> registration) {
132133
try {
133134
std::cerr << "registered procedure:" << registration.get().id() << std::endl;

0 commit comments

Comments
 (0)