Commit 52f0a9b1 authored by Dominik Charousset's avatar Dominik Charousset

Fix protobuf example

parent 0cc2f95f
...@@ -24,20 +24,16 @@ ...@@ -24,20 +24,16 @@
#include <arpa/inet.h> #include <arpa/inet.h>
#include "cppa/cppa.hpp" #include "caf/all.hpp"
#include "caf/io/all.hpp"
#include "cppa/io/broker.hpp" CAF_PUSH_WARNINGS
#include "cppa/io/middleman.hpp"
#include "cppa/detail/logging.hpp"
CPPA_PUSH_WARNINGS
#include "pingpong.pb.h" #include "pingpong.pb.h"
CPPA_POP_WARNINGS CAF_POP_WARNINGS
using namespace std; using namespace std;
using namespace cppa; using namespace caf;
using namespace cppa::io; using namespace caf::io;
void print_on_exit(const actor& ptr, const std::string& name) { void print_on_exit(const actor& ptr, const std::string& name) {
ptr->attach_functor([=](std::uint32_t reason) { ptr->attach_functor([=](std::uint32_t reason) {
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment