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
e191dd83
Unverified
Commit
e191dd83
authored
Jun 20, 2017
by
Niels Lohmann
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
🔨
fixed warning about pointer members
parent
82b95ca6
Changes
2
Show whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
469 additions
and
472 deletions
+469
-472
src/json.hpp
src/json.hpp
+8
-4
test/src/unit-class_parser.cpp
test/src/unit-class_parser.cpp
+461
-468
No files found.
src/json.hpp
View file @
e191dd83
...
...
@@ -6807,10 +6807,6 @@ class basic_json
*/
class
serializer
{
private:
serializer
(
const
serializer
&
)
=
delete
;
serializer
&
operator
=
(
const
serializer
&
)
=
delete
;
public:
/*!
@param[in] s output stream to serialize to
...
...
@@ -6823,6 +6819,10 @@ class basic_json
indent_char
(
ichar
),
indent_string
(
512
,
indent_char
)
{}
// delete because of pointer members
serializer
(
const
serializer
&
)
=
delete
;
serializer
&
operator
=
(
const
serializer
&
)
=
delete
;
/*!
@brief internal implementation of the serialization function
...
...
@@ -11182,6 +11182,10 @@ class basic_json
:
ia
(
adapter
),
decimal_point_char
(
get_decimal_point
())
{}
// delete because of pointer members
lexer
(
const
lexer
&
)
=
delete
;
lexer
&
operator
=
(
lexer
&
)
=
delete
;
private:
/////////////////////
// locales
...
...
test/src/unit-class_parser.cpp
View file @
e191dd83
This source diff could not be displayed because it is too large. You can
view the blob
instead.
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