Skip to content
GitLab
Projects
Groups
Snippets
/
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
Menu
Maintenance - Mise à jour mensuelle Lundi 6 Février entre 7h00 et 9h00
Open sidebar
Gauthier Quesnel
irritator
Commits
5718fc36
Commit
5718fc36
authored
Jun 03, 2021
by
Gauthier Quesnel
Browse files
core: fix typo
parent
7e7f0ae3
Pipeline
#34196
failed with stage
in 19 seconds
Changes
1
Pipelines
1
Show whitespace changes
Inline
Side-by-side
lib/include/irritator/core.hpp
View file @
5718fc36
...
...
@@ -2594,9 +2594,9 @@ public:
return
m_max_size
;
}
constexpr
bool
can_alloc
(
std
::
size_t
place
)
const
noexcept
constexpr
bool
can_alloc
(
const
sz
nb
)
const
noexcept
{
return
m_capacity
-
m_max_size
>=
place
;
return
m_capacity
-
m_max_size
>=
nb
;
}
constexpr
bool
can_alloc
()
const
noexcept
...
...
@@ -5297,7 +5297,6 @@ struct accumulator
status
transition
(
time
/*t*/
,
time
/*e*/
,
time
/*r*/
)
noexcept
{
for
(
size_t
i
=
0
;
i
!=
PortNumber
;
++
i
)
for
(
const
auto
&
msg
:
x
[
i
+
PortNumber
].
messages
)
numbers
[
i
]
=
msg
[
0
];
...
...
Write
Preview
Supports
Markdown
0%
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!
Cancel
Please
register
or
sign in
to comment