Skip to content
GitLab
Explore
Sign in
Primary navigation
Search or go to…
Project
opendht
Manage
Activity
Members
Labels
Plan
Issues
Issue boards
Milestones
Iterations
Code
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Locked files
Deploy
Model registry
Analyze
Model experiments
Help
Help
Support
GitLab documentation
Compare GitLab plans
Community forum
Contribute to GitLab
Provide feedback
Keyboard shortcuts
?
Snippets
Groups
Projects
Show more breadcrumbs
savoirfairelinux
opendht
Commits
84a2d771
Commit
84a2d771
authored
6 years ago
by
Adrien Béraud
Browse files
Options
Downloads
Patches
Plain Diff
dht: add some missing override
parent
f6273f9e
Branches
Branches containing commit
Tags
Tags containing commit
No related merge requests found
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
include/opendht/dht.h
+7
-7
7 additions, 7 deletions
include/opendht/dht.h
with
7 additions
and
7 deletions
include/opendht/dht.h
+
7
−
7
View file @
84a2d771
...
...
@@ -274,19 +274,19 @@ public:
std
::
string
getStorageLog
()
const
override
;
std
::
string
getStorageLog
(
const
InfoHash
&
)
const
override
;
std
::
string
getRoutingTablesLog
(
sa_family_t
)
const
;
std
::
string
getSearchesLog
(
sa_family_t
)
const
;
std
::
string
getSearchLog
(
const
InfoHash
&
,
sa_family_t
af
=
AF_UNSPEC
)
const
;
std
::
string
getRoutingTablesLog
(
sa_family_t
)
const
override
;
std
::
string
getSearchesLog
(
sa_family_t
)
const
override
;
std
::
string
getSearchLog
(
const
InfoHash
&
,
sa_family_t
af
=
AF_UNSPEC
)
const
override
;
void
dumpTables
()
const
;
std
::
vector
<
unsigned
>
getNodeMessageStats
(
bool
in
=
false
)
{
void
dumpTables
()
const
override
;
std
::
vector
<
unsigned
>
getNodeMessageStats
(
bool
in
=
false
)
override
{
return
network_engine
.
getNodeMessageStats
(
in
);
}
/**
* Set the in-memory storage limit in bytes
*/
void
setStorageLimit
(
size_t
limit
=
DEFAULT_STORAGE_LIMIT
)
{
void
setStorageLimit
(
size_t
limit
=
DEFAULT_STORAGE_LIMIT
)
override
{
max_store_size
=
limit
;
}
...
...
@@ -294,7 +294,7 @@ public:
* Returns the total memory usage of stored values and the number
* of stored values.
*/
std
::
pair
<
size_t
,
size_t
>
getStoreSize
()
const
{
std
::
pair
<
size_t
,
size_t
>
getStoreSize
()
const
override
{
return
{
total_store_size
,
total_values
};
}
...
...
This diff is collapsed.
Click to expand it.
Preview
0%
Loading
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Save comment
Cancel
Please
register
or
sign in
to comment