Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
J
json
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
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
Libraries
json
Commits
30dd0c0f
Commit
30dd0c0f
authored
4 years ago
by
Sergey Linev
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Change underscore placement
parent
71cb7d12
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
6 additions
and
6 deletions
+6
-6
include/nlohmann/byte_container_with_subtype.hpp
include/nlohmann/byte_container_with_subtype.hpp
+6
-6
No files found.
include/nlohmann/byte_container_with_subtype.hpp
View file @
30dd0c0f
...
@@ -39,15 +39,15 @@ class byte_container_with_subtype : public BinaryType
...
@@ -39,15 +39,15 @@ class byte_container_with_subtype : public BinaryType
:
container_type
(
std
::
move
(
b
))
:
container_type
(
std
::
move
(
b
))
{}
{}
byte_container_with_subtype
(
const
container_type
&
b
,
std
::
uint8_t
_subtype
)
noexcept
(
noexcept
(
container_type
(
b
)))
byte_container_with_subtype
(
const
container_type
&
b
,
std
::
uint8_t
subtype_
)
noexcept
(
noexcept
(
container_type
(
b
)))
:
container_type
(
b
)
:
container_type
(
b
)
,
m_subtype
(
_subtype
)
,
m_subtype
(
subtype_
)
,
m_has_subtype
(
true
)
,
m_has_subtype
(
true
)
{}
{}
byte_container_with_subtype
(
container_type
&&
b
,
std
::
uint8_t
_subtype
)
noexcept
(
noexcept
(
container_type
(
std
::
move
(
b
))))
byte_container_with_subtype
(
container_type
&&
b
,
std
::
uint8_t
subtype_
)
noexcept
(
noexcept
(
container_type
(
std
::
move
(
b
))))
:
container_type
(
std
::
move
(
b
))
:
container_type
(
std
::
move
(
b
))
,
m_subtype
(
_subtype
)
,
m_subtype
(
subtype_
)
,
m_has_subtype
(
true
)
,
m_has_subtype
(
true
)
{}
{}
...
@@ -80,9 +80,9 @@ class byte_container_with_subtype : public BinaryType
...
@@ -80,9 +80,9 @@ class byte_container_with_subtype : public BinaryType
@since version 3.8.0
@since version 3.8.0
*/
*/
void
set_subtype
(
std
::
uint8_t
_subtype
)
noexcept
void
set_subtype
(
std
::
uint8_t
subtype_
)
noexcept
{
{
m_subtype
=
_subtype
;
m_subtype
=
subtype_
;
m_has_subtype
=
true
;
m_has_subtype
=
true
;
}
}
...
...
This diff is collapsed.
Click to expand it.
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