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
2c194443
Commit
2c194443
authored
Nov 22, 2018
by
Dominik Charousset
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Remove unused code
parent
ac55df8c
Changes
4
Hide whitespace changes
Inline
Side-by-side
Showing
4 changed files
with
0 additions
and
52 deletions
+0
-52
libcaf_core/test/sum_type.cpp
libcaf_core/test/sum_type.cpp
+0
-12
libcaf_io/src/basp_broker.cpp
libcaf_io/src/basp_broker.cpp
+0
-10
libcaf_io/test/basp.cpp
libcaf_io/test/basp.cpp
+0
-15
libcaf_io/test/basp_udp.cpp
libcaf_io/test/basp_udp.cpp
+0
-15
No files found.
libcaf_core/test/sum_type.cpp
View file @
2c194443
...
...
@@ -34,13 +34,6 @@
namespace
{
struct
tostring_visitor
:
caf
::
static_visitor
<
std
::
string
>
{
template
<
class
T
>
inline
std
::
string
operator
()(
const
T
&
value
)
{
return
to_string
(
value
);
}
};
class
union_type
{
public:
friend
struct
caf
::
default_sum_type_access
<
union_type
>
;
...
...
@@ -59,11 +52,6 @@ public:
destroy
();
}
template
<
class
T
>
union_type
(
T
x
)
:
union_type
()
{
*
this
=
x
;
}
union_type
&
operator
=
(
T0
value
)
{
destroy
();
index_
=
0
;
...
...
libcaf_io/src/basp_broker.cpp
View file @
2c194443
...
...
@@ -52,16 +52,6 @@ struct seq_num_visitor {
basp_broker_state
*
state
;
};
struct
close_visitor
{
using
result_type
=
void
;
close_visitor
(
broker
*
ptr
)
:
b
(
ptr
)
{
}
template
<
class
T
>
result_type
operator
()(
const
T
&
hdl
)
{
b
->
close
(
hdl
);
}
broker
*
b
;
};
}
// namespace anonymous
const
char
*
basp_broker_state
::
name
=
"basp_broker"
;
...
...
libcaf_io/test/basp.cpp
View file @
2c194443
...
...
@@ -66,21 +66,6 @@ bool operator==(const maybe<T>& x, const T& y) {
return
x
.
val
?
x
.
val
==
y
:
true
;
}
template
<
class
T
>
bool
operator
==
(
const
T
&
x
,
const
maybe
<
T
>&
y
)
{
return
y
.
val
?
x
==
y
.
val
:
true
;
}
template
<
class
T
>
bool
operator
!=
(
const
maybe
<
T
>&
x
,
const
T
&
y
)
{
return
!
(
x
==
y
);
}
template
<
class
T
>
bool
operator
!=
(
const
T
&
x
,
const
maybe
<
T
>&
y
)
{
return
!
(
x
==
y
);
}
constexpr
uint8_t
no_flags
=
0
;
constexpr
uint32_t
no_payload
=
0
;
constexpr
uint64_t
no_operation_data
=
0
;
...
...
libcaf_io/test/basp_udp.cpp
View file @
2c194443
...
...
@@ -70,21 +70,6 @@ bool operator==(const maybe<T>& x, const T& y) {
return
x
.
val
?
x
.
val
==
y
:
true
;
}
template
<
class
T
>
bool
operator
==
(
const
T
&
x
,
const
maybe
<
T
>&
y
)
{
return
y
.
val
?
x
==
y
.
val
:
true
;
}
template
<
class
T
>
bool
operator
!=
(
const
maybe
<
T
>&
x
,
const
T
&
y
)
{
return
!
(
x
==
y
);
}
template
<
class
T
>
bool
operator
!=
(
const
T
&
x
,
const
maybe
<
T
>&
y
)
{
return
!
(
x
==
y
);
}
constexpr
uint8_t
no_flags
=
0
;
constexpr
uint32_t
no_payload
=
0
;
constexpr
uint64_t
no_operation_data
=
0
;
...
...
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