Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
A
Actor Framework
Project overview
Project overview
Details
Activity
Releases
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Issues
0
Issues
0
List
Boards
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Operations
Operations
Metrics
Environments
Analytics
Analytics
CI / CD
Repository
Value Stream
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
cpp-libs
Actor Framework
Commits
52f0a9b1
Commit
52f0a9b1
authored
Jul 17, 2014
by
Dominik Charousset
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Fix protobuf example
parent
0cc2f95f
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
6 additions
and
10 deletions
+6
-10
examples/remote_actors/protobuf_broker.cpp
examples/remote_actors/protobuf_broker.cpp
+6
-10
No files found.
examples/remote_actors/protobuf_broker.cpp
View file @
52f0a9b1
...
@@ -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"
C
PPA
_POP_WARNINGS
C
AF
_POP_WARNINGS
using
namespace
std
;
using
namespace
std
;
using
namespace
c
ppa
;
using
namespace
c
af
;
using
namespace
c
ppa
::
io
;
using
namespace
c
af
::
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
)
{
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment