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
3c62026b
Commit
3c62026b
authored
5 months ago
by
Adrien Béraud
Browse files
Options
Downloads
Patches
Plain Diff
proxy server: move time_point using statement before use
parent
7cf43f53
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_proxy_server.h
+3
-3
3 additions, 3 deletions
include/opendht/dht_proxy_server.h
with
3 additions
and
3 deletions
include/opendht/dht_proxy_server.h
+
3
−
3
View file @
3c62026b
...
...
@@ -98,6 +98,9 @@ public:
asio
::
io_context
&
io_context
()
const
;
using
clock
=
std
::
chrono
::
steady_clock
;
using
time_point
=
clock
::
time_point
;
struct
PushStats
{
uint64_t
highPriorityCount
{
0
};
uint64_t
normalPriorityCount
{
0
};
...
...
@@ -409,9 +412,6 @@ private:
template
<
typename
Is
>
void
loadState
(
Is
&
is
,
size_t
size
);
using
clock
=
std
::
chrono
::
steady_clock
;
using
time_point
=
clock
::
time_point
;
std
::
shared_ptr
<
asio
::
io_context
>
ioContext_
;
std
::
shared_ptr
<
DhtRunner
>
dht_
;
Json
::
StreamWriterBuilder
jsonBuilder_
;
...
...
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