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
70bbf195
Commit
70bbf195
authored
Mar 11, 2017
by
Ted Lyngmo
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Fix -Weffc++ warnings (GNU 6.3.1)
parent
5b809b97
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
0 additions
and
30 deletions
+0
-30
src/json.hpp
src/json.hpp
+0
-15
src/json.hpp.re2c
src/json.hpp.re2c
+0
-15
No files found.
src/json.hpp
View file @
70bbf195
...
...
@@ -6172,21 +6172,6 @@ class basic_json
thousands_sep
(
!
loc
->
thousands_sep
?
'\0'
:
loc
->
thousands_sep
[
0
]),
decimal_point
(
!
loc
->
decimal_point
?
'\0'
:
loc
->
decimal_point
[
0
])
{}
serializer
(
const
serializer
&
cpy
)
:
o
(
cpy
.
o
),
thousands_sep
(
cpy
.
thousands_sep
),
decimal_point
(
cpy
.
decimal_point
),
loc
(
cpy
.
loc
),
indent_string
(
cpy
.
indent_string
)
{}
serializer
&
operator
=
(
const
serializer
&
rhs
)
{
o
=
rhs
.
o
;
thousands_sep
=
rhs
.
thousands_sep
;
decimal_point
=
rhs
.
decimal_point
;
loc
=
rhs
.
loc
;
indent_string
=
rhs
.
indent_string
;
return
*
this
;
}
/*!
@brief internal implementation of the serialization function
...
...
src/json.hpp.re2c
View file @
70bbf195
...
...
@@ -6172,21 +6172,6 @@ class basic_json
thousands_sep(!loc->thousands_sep ? '\0' : loc->thousands_sep[0]),
decimal_point(!loc->decimal_point ? '\0' : loc->decimal_point[0])
{}
serializer(const serializer& cpy)
: o(cpy.o),
thousands_sep(cpy.thousands_sep),
decimal_point(cpy.decimal_point),
loc(cpy.loc),
indent_string(cpy.indent_string)
{}
serializer& operator=(const serializer& rhs) {
o = rhs.o;
thousands_sep = rhs.thousands_sep;
decimal_point = rhs.decimal_point;
loc = rhs.loc;
indent_string = rhs.indent_string;
return *this;
}
/*!
@brief internal implementation of the serialization function
...
...
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