Skip to content
GitLab
Projects
Groups
Snippets
Help
Loading...
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
biboumi
Project overview
Project overview
Details
Activity
Releases
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Issues
90
Issues
90
List
Boards
Labels
Service Desk
Milestones
Merge Requests
7
Merge Requests
7
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Operations
Operations
Incidents
Environments
Packages & Registries
Packages & Registries
Container Registry
Analytics
Analytics
CI / CD
Repository
Value Stream
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
louiz’
biboumi
Commits
ccb4ee09
Commit
ccb4ee09
authored
Apr 07, 2017
by
louiz’
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Apply all the clang-tidy misc-* fixes
parent
5402a256
Changes
5
Hide whitespace changes
Inline
Side-by-side
Showing
5 changed files
with
6 additions
and
7 deletions
+6
-7
src/irc/iid.cpp
src/irc/iid.cpp
+1
-1
src/irc/irc_client.cpp
src/irc/irc_client.cpp
+2
-2
src/network/credentials_manager.cpp
src/network/credentials_manager.cpp
+1
-1
src/network/tcp_socket_handler.cpp
src/network/tcp_socket_handler.cpp
+0
-1
src/utils/timed_events.cpp
src/utils/timed_events.cpp
+2
-2
No files found.
src/irc/iid.cpp
View file @
ccb4ee09
...
...
@@ -9,7 +9,7 @@
constexpr
char
Iid
::
separator
[];
Iid
::
Iid
(
std
::
string
local
,
std
::
string
server
,
Iid
::
Type
type
)
:
type
(
std
::
move
(
type
)
),
type
(
type
),
local
(
std
::
move
(
local
)),
server
(
std
::
move
(
server
))
{
...
...
src/irc/irc_client.cpp
View file @
ccb4ee09
...
...
@@ -382,7 +382,7 @@ void IrcClient::send_message(IrcMessage&& message)
std
::
string
res
;
if
(
!
message
.
prefix
.
empty
())
res
+=
":"
+
std
::
move
(
message
.
prefix
)
+
" "
;
res
+=
std
::
move
(
message
.
command
)
;
res
+=
message
.
command
;
for
(
const
std
::
string
&
arg
:
message
.
arguments
)
{
if
(
arg
.
find
(
" "
)
!=
std
::
string
::
npos
||
...
...
@@ -889,7 +889,7 @@ void IrcClient::on_part(const IrcMessage& message)
// channel pointer is now invalid
channel
=
nullptr
;
}
this
->
bridge
.
send_muc_leave
(
iid
,
std
::
move
(
nick
),
std
::
move
(
txt
)
,
self
);
this
->
bridge
.
send_muc_leave
(
iid
,
std
::
move
(
nick
),
txt
,
self
);
}
}
...
...
src/network/credentials_manager.cpp
View file @
ccb4ee09
...
...
@@ -98,7 +98,7 @@ bool BasicCredentialsManager::try_to_open_one_ca_bundle(const std::vector<std::s
// because the certificate is signed by an issuer that was ignored.
try
{
Botan
::
X509_Certificate
cert
(
bundle
);
BasicCredentialsManager
::
certificate_store
.
add_certificate
(
std
::
move
(
cert
)
);
BasicCredentialsManager
::
certificate_store
.
add_certificate
(
cert
);
}
catch
(
const
Botan
::
Decoding_Error
&
error
)
{
continue
;
}
...
...
src/network/tcp_socket_handler.cpp
View file @
ccb4ee09
...
...
@@ -42,7 +42,6 @@ namespace
using
namespace
std
::
string_literals
;
using
namespace
std
::
chrono_literals
;
namespace
ph
=
std
::
placeholders
;
TCPSocketHandler
::
TCPSocketHandler
(
std
::
shared_ptr
<
Poller
>&
poller
)
:
SocketHandler
(
poller
,
-
1
),
...
...
src/utils/timed_events.cpp
View file @
ccb4ee09
...
...
@@ -3,7 +3,7 @@
TimedEvent
::
TimedEvent
(
std
::
chrono
::
steady_clock
::
time_point
&&
time_point
,
std
::
function
<
void
()
>
callback
,
std
::
string
name
)
:
time_point
(
std
::
move
(
time_point
)
),
time_point
(
time_point
),
callback
(
std
::
move
(
callback
)),
repeat
(
false
),
repeat_delay
(
0
),
...
...
@@ -16,7 +16,7 @@ TimedEvent::TimedEvent(std::chrono::milliseconds&& duration,
time_point
(
std
::
chrono
::
steady_clock
::
now
()
+
duration
),
callback
(
std
::
move
(
callback
)),
repeat
(
true
),
repeat_delay
(
std
::
move
(
duration
)
),
repeat_delay
(
duration
),
name
(
std
::
move
(
name
))
{
}
...
...
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