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
2a3d7126
Commit
2a3d7126
authored
May 23, 2015
by
Dominik Charousset
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Remove unused functions
parent
82d9e57f
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
0 additions
and
16 deletions
+0
-16
examples/remote_actors/group_server.cpp
examples/remote_actors/group_server.cpp
+0
-16
No files found.
examples/remote_actors/group_server.cpp
View file @
2a3d7126
...
...
@@ -18,22 +18,6 @@
using
namespace
std
;
using
namespace
caf
;
optional
<
uint16_t
>
to_port
(
const
string
&
arg
)
{
char
*
last
=
nullptr
;
auto
res
=
strtoul
(
arg
.
c_str
(),
&
last
,
10
);
if
(
last
==
(
arg
.
c_str
()
+
arg
.
size
())
&&
res
<=
65536
)
{
return
static_cast
<
uint16_t
>
(
res
);
}
return
none
;
}
optional
<
uint16_t
>
long_port
(
const
string
&
arg
)
{
if
(
arg
.
compare
(
0
,
7
,
"--port="
)
==
0
)
{
return
to_port
(
arg
.
substr
(
7
));
}
return
none
;
}
int
main
(
int
argc
,
char
**
argv
)
{
uint16_t
port
=
0
;
auto
res
=
message_builder
(
argv
+
1
,
argv
+
argc
).
extract_opts
({
...
...
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